Lukáš Lalinský
6cc989eb55
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
2007-12-01 10:08:43 +00:00
Lukáš Lalinský
c4a21adb8e
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
2007-12-01 09:15:23 +00:00
Lukáš Lalinský
fed2c020fe
Fix TTA audio properties reading.
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@740388 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-11-23 06:54:22 +00:00
Rolf Eike Beer
5506647153
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
2007-11-22 19:18:18 +00:00
Lukáš Lalinský
46fbd11d8f
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
2007-11-22 18:55:47 +00:00
Lukáš Lalinský
e06495a7e3
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
2007-11-22 13:48:01 +00:00
Lukáš Lalinský
bb9e6fe65f
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
2007-11-22 13:20:21 +00:00
Lukáš Lalinský
51a5ae46b1
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
2007-11-22 13:17:15 +00:00
Scott Wheeler
363dbf569f
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
2007-11-20 21:14:20 +00:00
Scott Wheeler
f8736f0fe9
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
2007-11-19 14:44:09 +00:00
Scott Wheeler
b2e2f0bdba
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
2007-11-19 13:59:33 +00:00
Michael Pyne
438927762c
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
2007-11-11 03:30:44 +00:00
Michael Pyne
fd1ad5972d
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
2007-11-11 03:24:31 +00:00
Lukáš Lalinský
049f77f0d9
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
2007-11-10 22:55:14 +00:00
Lukáš Lalinský
2462905fe0
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
2007-11-10 22:20:33 +00:00
Lukáš Lalinský
41bc6f0686
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
2007-11-10 22:16:56 +00:00
Lukáš Lalinský
b44cee48f4
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
2007-11-10 21:32:32 +00:00
Lukáš Lalinský
673b77c3ac
- 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
2007-11-10 18:03:25 +00:00
Lukáš Lalinský
db0be6b8c6
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
2007-11-10 16:46:04 +00:00
Lukáš Lalinský
2302f65964
Speex support.
...
BUG:129196
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@734977 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-11-10 16:07:09 +00:00
Lukáš Lalinský
bb438484da
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
2007-11-10 16:06:16 +00:00
Lukáš Lalinský
7b0c053359
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
2007-11-10 16:05:18 +00:00
Lukáš Lalinský
7c4dfa9188
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
2007-11-10 15:58:10 +00:00
Lukáš Lalinský
b98be427f9
Use Unicode filenames on Windows.
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@734944 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-11-10 15:16:49 +00:00
Lukáš Lalinský
5a495c5c11
WavPack support.
...
CCBUG:114982
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@733568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-11-06 18:50:09 +00:00
Lukáš Lalinský
b83bf359fc
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
2007-11-06 18:27:47 +00:00
Lukáš Lalinský
0d7ed811fe
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
2007-11-05 02:04:10 +00:00
Lukáš Lalinský
074d47460e
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
2007-11-05 01:58:56 +00:00
Scott Wheeler
0da49842dd
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
2007-10-21 17:37:28 +00:00
Scott Wheeler
1bdb67fafa
More TAGLIB_EXPORTs from Lukas.
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@727755 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-10-21 17:35:40 +00:00
Scott Wheeler
5b03541038
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
2007-10-10 18:22:58 +00:00
Scott Wheeler
09f1e77112
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
2007-10-09 17:46:48 +00:00
Scott Wheeler
99b0c6e2f4
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
2007-09-27 21:41:12 +00:00
Scott Wheeler
14eda582ee
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
2007-09-27 20:52:50 +00:00
Christian Ehrlicher
2eda04f934
more win32 fixes
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@712894 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-09-15 16:01:02 +00:00
Christian Ehrlicher
860b839551
win32 install fixes
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@712787 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-09-15 10:12:27 +00:00
Christian Ehrlicher
0668b26865
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
2007-09-15 09:03:22 +00:00
Kevin Krammer
ab1939b8fb
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
2007-08-29 23:33:30 +00:00
Kevin Krammer
a4d6e9a615
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
2007-08-29 22:57:23 +00:00
Adriaan de Groot
317de487ba
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
2007-08-27 20:05:44 +00:00
Adriaan de Groot
38e140962a
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
2007-08-27 19:41:38 +00:00
Adriaan de Groot
7d2d0670b6
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
2007-08-27 13:58:19 +00:00
Laurent Montel
7b0f4f839c
Don't hardcode version
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@705092 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-08-27 07:04:18 +00:00
Laurent Montel
4bf5396890
Don't hardcode version number
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@705090 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-08-27 07:02:29 +00:00
Adriaan de Groot
f63cff669e
Want div_t
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@702849 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-08-21 09:41:41 +00:00
Scott Wheeler
989be39e2c
Fix the automake build.
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@702323 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-08-20 11:59:02 +00:00
Christian Ehrlicher
239d3c9a58
more exports from Serhiy Kachaniuk
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@701861 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-08-19 15:16:35 +00:00
Adriaan de Groot
ad4ab5f4be
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
2007-08-16 12:05:50 +00:00
Adriaan de Groot
47e855e654
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
2007-08-16 11:47:08 +00:00
Laurent Montel
ecc430e6f5
Not generate/install pkgconfig file on windows we can't use it
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@699889 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2007-08-14 07:33:36 +00:00