]> granicus.if.org Git - taglib/log
taglib
14 years agoGenerate docs for ASF / MP4 as well
Scott Wheeler [Thu, 2 Dec 2010 20:08:43 +0000 (20:08 +0000)]
Generate docs for ASF / MP4 as well

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

14 years agoInstall flacmetadatablock.h. Required to make Amarok compile.
Andreas Hartmetz [Sun, 28 Nov 2010 22:06:34 +0000 (22:06 +0000)]
Install flacmetadatablock.h. Required to make Amarok compile.

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

14 years agoWork-in-progress support for writing FLAC picture
Lukáš Lalinský [Sun, 28 Nov 2010 12:54:52 +0000 (12:54 +0000)]
Work-in-progress support for writing FLAC picture

This will enable the possibility to add support for accessing the Seektable
and Cuesheet blocks, but I'm not planning on implementing that right now.

CCBUG:218696

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

14 years agoMore tests for WavPack audio properties
Lukáš Lalinský [Sat, 27 Nov 2010 21:12:14 +0000 (21:12 +0000)]
More tests for WavPack audio properties

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

14 years agoFix reading of WavPack streams without a length information in the header
Lukáš Lalinský [Sat, 27 Nov 2010 20:58:57 +0000 (20:58 +0000)]
Fix reading of WavPack streams without a length information in the header

When the WavPack's total_samples header fiels contains -1, try to find
the final block and get the number of samples from there as
block_index + block_samples.

BUG:258016

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

14 years agoDocs
Lukáš Lalinský [Sat, 27 Nov 2010 07:32:32 +0000 (07:32 +0000)]
Docs

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

14 years agoExplicitly check for -1 in WavPack length
Lukáš Lalinský [Sat, 27 Nov 2010 07:32:16 +0000 (07:32 +0000)]
Explicitly check for -1 in WavPack length

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

14 years agoAccept both "ID3 " and "id3 " as valid ID3 chunk IDs in RIFF files
Lukáš Lalinský [Mon, 1 Nov 2010 16:32:37 +0000 (16:32 +0000)]
Accept both "ID3 " and "id3 " as valid ID3 chunk IDs in RIFF files

Patch by Stephen F. Booth

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

14 years agoDifferent LGPL version than was referenced in headers
Scott Wheeler [Wed, 22 Sep 2010 00:07:26 +0000 (00:07 +0000)]
Different LGPL version than was referenced in headers

CCMAIL:groot@kde.org

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

14 years agoFix Automake build
Lukáš Lalinský [Tue, 24 Aug 2010 15:50:35 +0000 (15:50 +0000)]
Fix Automake build

Patch by Stephen F. Booth

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

14 years agoAdded information about the number of bits per sample in WAVE and AIFF files
Lukáš Lalinský [Tue, 24 Aug 2010 15:49:47 +0000 (15:49 +0000)]
Added information about the number of bits per sample in WAVE and AIFF files

Patch by Stephen F. Booth

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

14 years agoMake sure TAGLIB_EXPORT is empty when TAGLIB_STATIC is defined
Lukáš Lalinský [Mon, 9 Aug 2010 12:17:30 +0000 (12:17 +0000)]
Make sure TAGLIB_EXPORT is empty when TAGLIB_STATIC is defined

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

14 years agoRead-only support for FLAC picture blocks
Lukáš Lalinský [Sun, 25 Jul 2010 11:06:36 +0000 (11:06 +0000)]
Read-only support for FLAC picture blocks

CCBUG:218696

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

14 years agoDon't unnecessarily include whole <iostream>
Lukáš Lalinský [Sat, 24 Jul 2010 13:17:01 +0000 (13:17 +0000)]
Don't unnecessarily include whole <iostream>

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

14 years agoMissing file
Lukáš Lalinský [Sun, 11 Jul 2010 17:45:47 +0000 (17:45 +0000)]
Missing file

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

14 years agoI think you forgot a file :)
David Faure [Sun, 11 Jul 2010 17:34:23 +0000 (17:34 +0000)]
I think you forgot a file :)
CCMAIL: lalinsky@gmail.com

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

14 years agoAdded FLAC::Properties::signature()
Lukáš Lalinský [Sun, 11 Jul 2010 10:26:35 +0000 (10:26 +0000)]
Added FLAC::Properties::signature()

BUG:160172

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

14 years agoAdded reading of WAV audio length
Lukáš Lalinský [Sun, 11 Jul 2010 09:47:58 +0000 (09:47 +0000)]
Added reading of WAV audio length

BUG:116033

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

14 years agoImplemented a specialized version of APE::Tag::isEmpty()
Lukáš Lalinský [Sat, 10 Jul 2010 09:22:53 +0000 (09:22 +0000)]
Implemented a specialized version of APE::Tag::isEmpty()

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

14 years agoDon't try to save read-only MP4 files
Lukáš Lalinský [Sat, 3 Jul 2010 11:36:08 +0000 (11:36 +0000)]
Don't try to save read-only MP4 files

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

14 years agoUnused private attributes
Lukáš Lalinský [Sat, 3 Jul 2010 11:34:29 +0000 (11:34 +0000)]
Unused private attributes

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

14 years agoSupport for reading/writing tags from Monkey's Audio files
Lukáš Lalinský [Sat, 3 Jul 2010 11:32:27 +0000 (11:32 +0000)]
Support for reading/writing tags from Monkey's Audio files

Patch by Alex Novichkov, slightly modified by me (code formatting + tests).

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

14 years agoFinal changes v1.6.3
Lukáš Lalinský [Sat, 17 Apr 2010 11:31:35 +0000 (11:31 +0000)]
Final changes

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

14 years agoFix parsing of regular 32-bit integers in SynchData::toUInt()
Lukáš Lalinský [Thu, 15 Apr 2010 20:22:21 +0000 (20:22 +0000)]
Fix parsing of regular 32-bit integers in SynchData::toUInt()

BUG:231075

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

14 years agoAdd a BIC comment about merging String::toInt
Lukáš Lalinský [Mon, 12 Apr 2010 18:53:27 +0000 (18:53 +0000)]
Add a BIC comment about merging String::toInt

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

14 years agoInfo about the new toInt method
Lukáš Lalinský [Mon, 12 Apr 2010 18:41:10 +0000 (18:41 +0000)]
Info about the new toInt method

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

14 years agoUpdated NEWS
Lukáš Lalinský [Mon, 12 Apr 2010 18:35:41 +0000 (18:35 +0000)]
Updated NEWS

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

14 years agoInclude taglib_config.h by default
Lukáš Lalinský [Mon, 12 Apr 2010 18:32:04 +0000 (18:32 +0000)]
Include taglib_config.h by default

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

14 years agoFix upgrading of ID3v2.3 genre with number 0 (Blues)
Lukáš Lalinský [Mon, 12 Apr 2010 18:27:59 +0000 (18:27 +0000)]
Fix upgrading of ID3v2.3 genre with number 0 (Blues)

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

14 years agoUpdate all version numbers to 1.6.3
Lukáš Lalinský [Mon, 12 Apr 2010 17:43:03 +0000 (17:43 +0000)]
Update all version numbers to 1.6.3

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

14 years agoUpdate to current automake
Scott Wheeler [Fri, 9 Apr 2010 22:51:26 +0000 (22:51 +0000)]
Update to current automake

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

14 years agoFix release date v1.6.2
Lukáš Lalinský [Fri, 9 Apr 2010 09:37:51 +0000 (09:37 +0000)]
Fix release date

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

14 years agoForward declarations don't need exports.
Scott Wheeler [Sun, 4 Apr 2010 17:33:01 +0000 (17:33 +0000)]
Forward declarations don't need exports.

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

14 years agoOk, actually change the API version
Lukáš Lalinský [Sun, 4 Apr 2010 15:31:23 +0000 (15:31 +0000)]
Ok, actually change the API version

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

14 years agoThere is actually one new function, so the API version needs to be different
Lukáš Lalinský [Sun, 4 Apr 2010 15:20:46 +0000 (15:20 +0000)]
There is actually one new function, so the API version needs to be different

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

14 years agoIncrement version number
Lukáš Lalinský [Sun, 4 Apr 2010 15:01:21 +0000 (15:01 +0000)]
Increment version number

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

14 years agoDon't upgrade ID3v2.2 TDA frame when upgrading to TRCD
Lukáš Lalinský [Sat, 3 Apr 2010 16:58:03 +0000 (16:58 +0000)]
Don't upgrade ID3v2.2 TDA frame when upgrading to TRCD

We already do this for TDAT. Using both parts, the year and the date,
would be better we the code currently doesn't have enough context to
do that.

BUG:228968

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

14 years agoChangelog for 1.6.2
Lukáš Lalinský [Sat, 3 Apr 2010 16:16:51 +0000 (16:16 +0000)]
Changelog for 1.6.2

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

14 years agoIgnore trailing non-data atoms when parsing MP4 covr atoms
Lukáš Lalinský [Fri, 2 Apr 2010 12:14:32 +0000 (12:14 +0000)]
Ignore trailing non-data atoms when parsing MP4 covr atoms

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

14 years agoSave ASF attributes larger than 64k to the metadata library object
Lukáš Lalinský [Fri, 2 Apr 2010 11:53:28 +0000 (11:53 +0000)]
Save ASF attributes larger than 64k to the metadata library object

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

14 years agoUpdate .pro file
Scott Wheeler [Sun, 7 Mar 2010 19:03:35 +0000 (19:03 +0000)]
Update .pro file

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

14 years agoFix compilation fo the test runner on Windows
Lukáš Lalinský [Fri, 22 Jan 2010 13:30:05 +0000 (13:30 +0000)]
Fix compilation fo the test runner on Windows

Patch by Stephen Hewitt

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

14 years agoMP4 int pair atoms should have flags set to 0
Lukáš Lalinský [Fri, 22 Jan 2010 13:28:14 +0000 (13:28 +0000)]
MP4 int pair atoms should have flags set to 0

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

15 years agoBe more paranoid about checking MP4 files
Lukáš Lalinský [Mon, 14 Dec 2009 18:42:40 +0000 (18:42 +0000)]
Be more paranoid about checking MP4 files

To consider something a valid MP4 file, it must have a 'moov' atom. Otherwise
it's marked as invalid and we won't try to read/write tags.

CCBUG:216819

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

15 years agooptimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and...
Urs Wolfer [Sun, 13 Dec 2009 19:51:03 +0000 (19:51 +0000)]
optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 10144KB (9MB)

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

15 years agoHandle WM/TrackNumber with DWORD content
Lukáš Lalinský [Sun, 13 Dec 2009 15:32:55 +0000 (15:32 +0000)]
Handle WM/TrackNumber with DWORD content

The default type for this attribute is String, but even MSDN suggests to
support also DWORD, because some applications write such files.

BUG:218526

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

15 years agoFix tagreader_c.c to not try to access invalid pointers
Lukáš Lalinský [Sat, 12 Dec 2009 16:44:34 +0000 (16:44 +0000)]
Fix tagreader_c.c to not try to access invalid pointers

BUG:218334

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

15 years agopedantry++
Scott Wheeler [Tue, 1 Dec 2009 12:01:43 +0000 (12:01 +0000)]
pedantry++

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

15 years agoWhen decoding syncsafe integers, assume non-syncsafe integers are written by buggy...
Peter van Hardenberg [Tue, 1 Dec 2009 09:11:21 +0000 (09:11 +0000)]
When decoding syncsafe integers, assume non-syncsafe integers are written by buggy software and treat them as normal integers.
From Songbird bug 12964, original author Mike Smith (msmith@songbirdnest.com)

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

15 years agothis patch should make taglib build with the Sun Studio compiler (http://bugs.kde...
Alexander Neundorf [Wed, 25 Nov 2009 18:45:13 +0000 (18:45 +0000)]
this patch should make taglib build with the Sun Studio compiler (http://bugs.kde.org/show_bug.cgi?id=215225)

Alex

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

15 years agoExplicitly say that we are using TagLib::File (CCBUG:213544)
Lukáš Lalinský [Sat, 7 Nov 2009 15:05:25 +0000 (15:05 +0000)]
Explicitly say that we are using TagLib::File (CCBUG:213544)

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

15 years agoFixed a memory leak in FileRef's OGA format detection
Lukáš Lalinský [Wed, 4 Nov 2009 15:37:21 +0000 (15:37 +0000)]
Fixed a memory leak in FileRef's OGA format detection

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

15 years agoAdd test_flac.cpp to Makefile.am
Lukáš Lalinský [Mon, 2 Nov 2009 19:54:10 +0000 (19:54 +0000)]
Add test_flac.cpp to Makefile.am

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

15 years agoNew utility class to make sure temporary files are always deleted
Lukáš Lalinský [Mon, 2 Nov 2009 19:53:15 +0000 (19:53 +0000)]
New utility class to make sure temporary files are always deleted

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

15 years agoAlways read tags from the first Vorbis Comment block in FLAC files
Lukáš Lalinský [Mon, 2 Nov 2009 19:41:12 +0000 (19:41 +0000)]
Always read tags from the first Vorbis Comment block in FLAC files

Prevously TagLib saved tags to the first block, but read them from the
last one. Having multiple VC blocks is a non-standard situation, but
this is the best we can do (libFLAC also uses the first block in the
case of multiple VC blocks).

BUG:211089

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

15 years agoMissing "not" in docs.
Scott Wheeler [Sat, 31 Oct 2009 11:32:31 +0000 (11:32 +0000)]
Missing "not" in docs.

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

15 years agoA few more version numbers. We really need a way to automate this :( v1.6.1
Lukáš Lalinský [Sat, 31 Oct 2009 09:57:13 +0000 (09:57 +0000)]
A few more version numbers. We really need a way to automate this :(

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

15 years agoUpdate version in API docs
Lukáš Lalinský [Sat, 31 Oct 2009 09:43:51 +0000 (09:43 +0000)]
Update version in API docs

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

15 years agoBump version numbers
Lukáš Lalinský [Sat, 31 Oct 2009 09:23:58 +0000 (09:23 +0000)]
Bump version numbers

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

15 years agoA little more complex checking for broken files
Lukáš Lalinský [Sat, 31 Oct 2009 08:59:40 +0000 (08:59 +0000)]
A little more complex checking for broken files

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

15 years agoMake sure we are not trying to read a file where MP4 atom header != 8 bytes
Lukáš Lalinský [Sat, 31 Oct 2009 08:36:26 +0000 (08:36 +0000)]
Make sure we are not trying to read a file where MP4 atom header != 8 bytes

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

15 years agoFixed ID3v1-style genre to string conversion in MP4 files
Lukáš Lalinský [Thu, 29 Oct 2009 15:53:20 +0000 (15:53 +0000)]
Fixed ID3v1-style genre to string conversion in MP4 files

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

15 years agoSupport for MP4 cover art
Lukáš Lalinský [Sat, 24 Oct 2009 16:55:54 +0000 (16:55 +0000)]
Support for MP4 cover art

CCMAIL:martin.trashbox@gmail.com

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

15 years agoReturn NULL/false rather than crash when accessing file attributes in FileRef
Lukáš Lalinský [Sat, 24 Oct 2009 12:45:58 +0000 (12:45 +0000)]
Return NULL/false rather than crash when accessing file attributes in FileRef

BUG:209417

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

15 years agoChangelog for 1.6.1
Lukáš Lalinský [Sat, 24 Oct 2009 12:22:10 +0000 (12:22 +0000)]
Changelog for 1.6.1

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

15 years agoProper .oga file handling in FileRef
Lukáš Lalinský [Sat, 24 Oct 2009 12:17:08 +0000 (12:17 +0000)]
Proper .oga file handling in FileRef

This fixes a problem introduced in r983337. OGA files are mostly likely going
to be Ogg::FLAC, if applications are following the Xiph recommendation. But
they can be using any Ogg codec, so we must check multiple formats (Sound Juicer
on Ubuntu used to produce .oga files for Ogg Vorbis, I believe it doesn't do that
anymore).

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

15 years agoDon't wrote the Vorbis framing bit to OggFLAC files
Lukáš Lalinský [Sat, 24 Oct 2009 12:01:40 +0000 (12:01 +0000)]
Don't wrote the Vorbis framing bit to OggFLAC files

https://bugs.launchpad.net/maxosx/+bug/445970
http://www.hydrogenaudio.org/forums/index.php?showtopic=75263

CCMAIL:me@sbooth.org

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

15 years agoSet visibility("default") for GCC on exported symbols
Lukáš Lalinský [Sat, 24 Oct 2009 11:07:41 +0000 (11:07 +0000)]
Set visibility("default") for GCC on exported symbols

This does nothing with the current configuration, but it's useful if you compile the library with -fvisibility=hidden

Patch by Modestas Vainius

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

15 years agoAdd missing exports for a few public ID3v1 functions
Lukáš Lalinský [Tue, 20 Oct 2009 16:45:10 +0000 (16:45 +0000)]
Add missing exports for a few public ID3v1 functions

Patch by Modestas Vainius

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

15 years agoFix typo in taglib_c.pc
Lukáš Lalinský [Tue, 20 Oct 2009 16:41:59 +0000 (16:41 +0000)]
Fix typo in taglib_c.pc

Patch by Modestas Vainius to fix a bug reported in Debian - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524696

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

15 years agoFix copy+paste typos
Jeff Mitchell [Wed, 14 Oct 2009 14:44:15 +0000 (14:44 +0000)]
Fix copy+paste typos

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

15 years agoAlways use #include "XXX" in TagLib's code
Lukáš Lalinský [Fri, 9 Oct 2009 21:03:59 +0000 (21:03 +0000)]
Always use #include "XXX" in TagLib's code

Patch by Stephen F. Booth, thanks!

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

15 years agoThis value should be bool, not int
Lukáš Lalinský [Mon, 14 Sep 2009 10:25:34 +0000 (10:25 +0000)]
This value should be bool, not int

Since bool and int have the same size on x86 architectures, this worked for
me, but since they have a different size on ppc64, it caused the test to
fail. See http://marc.info/?l=taglib-devel&m=125291701231305&w=2 for details.

We should store the type in MP4::Item and do some type checking to avoid
mistakes like this...

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

15 years agoRemove extra commas from configure.in.in v1.6
Lukáš Lalinský [Sun, 13 Sep 2009 11:30:19 +0000 (11:30 +0000)]
Remove extra commas from configure.in.in

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

15 years agoUpdate libtool version-info
Lukáš Lalinský [Sun, 13 Sep 2009 11:17:49 +0000 (11:17 +0000)]
Update libtool version-info

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

15 years agoChangelog
Lukáš Lalinský [Sun, 13 Sep 2009 11:15:54 +0000 (11:15 +0000)]
Changelog

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

15 years agoRemove a non-existing dir.
Christophe Giboudeaux [Sun, 13 Sep 2009 10:19:34 +0000 (10:19 +0000)]
Remove a non-existing dir.

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

15 years agoUpgrade obsolete gnre MP4 atoms to ©gen
Lukáš Lalinský [Wed, 9 Sep 2009 20:11:29 +0000 (20:11 +0000)]
Upgrade obsolete gnre MP4 atoms to ©gen

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

15 years agoFix building of examples with ENABLE_STATIC
Lukáš Lalinský [Wed, 9 Sep 2009 18:16:38 +0000 (18:16 +0000)]
Fix building of examples with ENABLE_STATIC

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

15 years agoAdd option for building a static version of taglib
Lukáš Lalinský [Tue, 8 Sep 2009 08:52:57 +0000 (08:52 +0000)]
Add option for building a static version of taglib

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

15 years agoUse the internal config names
Lukáš Lalinský [Tue, 8 Sep 2009 07:26:12 +0000 (07:26 +0000)]
Use the internal config names

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

15 years agoAdd support for a global, installable config header
Lukáš Lalinský [Fri, 4 Sep 2009 09:29:59 +0000 (09:29 +0000)]
Add support for a global, installable config header

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

15 years agoDefine MAKE_TAGLIB_LIB from the automake build system
Lukáš Lalinský [Fri, 4 Sep 2009 09:07:27 +0000 (09:07 +0000)]
Define MAKE_TAGLIB_LIB from the automake build system

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

15 years agoFix compilation warnings
Lukáš Lalinský [Fri, 4 Sep 2009 08:50:24 +0000 (08:50 +0000)]
Fix compilation warnings

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

15 years agoAutoconf options for enabling MP4 and ASF support v1.6rc1
Lukáš Lalinský [Thu, 3 Sep 2009 19:14:12 +0000 (19:14 +0000)]
Autoconf options for enabling MP4 and ASF support

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

15 years agoFix version in configure.in.in
Lukáš Lalinský [Thu, 3 Sep 2009 18:32:16 +0000 (18:32 +0000)]
Fix version in configure.in.in

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

15 years agoUpdate docs and version numbers
Lukáš Lalinský [Thu, 3 Sep 2009 18:05:58 +0000 (18:05 +0000)]
Update docs and version numbers

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

15 years agoSplit Ogg packets larger than 64kb into multiple pages
Lukáš Lalinský [Thu, 3 Sep 2009 17:20:29 +0000 (17:20 +0000)]
Split Ogg packets larger than 64kb into multiple pages

The implementation is not very efficient, but the current Ogg
code makes it hard to write it properly. :(

Patch by Marc Halbruegge
BUG:171957

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

15 years agosvn is weird, I have deleted this external in 1010855 already
David Faure [Tue, 18 Aug 2009 10:06:44 +0000 (10:06 +0000)]
svn is weird, I have deleted this external in 1010855 already

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

15 years agoanother tool which is not necessary in this copy
David Faure [Thu, 13 Aug 2009 14:48:07 +0000 (14:48 +0000)]
another tool which is not necessary in this copy

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

15 years agoreplace external with a copy of the admin dir, as suggested by Jeff Mitchell
David Faure [Thu, 13 Aug 2009 14:46:52 +0000 (14:46 +0000)]
replace external with a copy of the admin dir, as suggested by Jeff Mitchell

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

15 years agoreplace external with a copy of the admin dir, as suggested by Jeff Mitchell
David Faure [Thu, 13 Aug 2009 14:44:55 +0000 (14:44 +0000)]
replace external with a copy of the admin dir, as suggested by Jeff Mitchell

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

15 years agoAdd a check to not crash on corrupted files
Lukáš Lalinský [Sun, 2 Aug 2009 15:17:36 +0000 (15:17 +0000)]
Add a check to not crash on corrupted files

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

15 years agoAdd missing tests to Makefile.am
Lukáš Lalinský [Tue, 28 Jul 2009 19:08:40 +0000 (19:08 +0000)]
Add missing tests to Makefile.am

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

15 years agoAdd a changelog
Lukáš Lalinský [Tue, 28 Jul 2009 18:57:49 +0000 (18:57 +0000)]
Add a changelog

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

15 years agoHandle RIFF chunk padding and ignore trailing garbage
Lukáš Lalinský [Tue, 28 Jul 2009 18:29:39 +0000 (18:29 +0000)]
Handle RIFF chunk padding and ignore trailing garbage

This is based on patches by Marc Halbruegge, but those only deal with
read-only cases. The code now also correctly adds padding to RIFF
chunks, and calculates offsets in chunkData taking the padding into
account.

BUG:171957
BUG:175781

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

15 years agoPartial support for 64-bit atoms
Lukáš Lalinský [Fri, 24 Jul 2009 13:08:51 +0000 (13:08 +0000)]
Partial support for 64-bit atoms

We still can't handle actual 64-bit atoms, but we can handle 32-bit sizes
stored in 64 bits.

CCBUG:198730

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

15 years agoUse flac padding.
Scott Wheeler [Sun, 12 Jul 2009 21:53:18 +0000 (21:53 +0000)]
Use flac padding.

Updated patch from Toby Dickenson

BUG:107659

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

15 years agoMake docs consistant with behavior.
Scott Wheeler [Sun, 12 Jul 2009 19:54:46 +0000 (19:54 +0000)]
Make docs consistant with behavior.

BUG:178174

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

15 years agoDon't save ID3v2.2 frames.
Lukáš Lalinský [Sat, 11 Jul 2009 14:43:58 +0000 (14:43 +0000)]
Don't save ID3v2.2 frames.

Patch by Marc Halbruegge
BUG:176373

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