Scott Wheeler
ddaf3cc479
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
2008-02-11 22:49:59 +00:00
Scott Wheeler
e4f7a9ec1e
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
2008-02-06 18:04:40 +00:00
Scott Wheeler
2644c529a5
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
2008-02-06 05:00:24 +00:00
Scott Wheeler
5542dbb94b
add a replace function to ByteVector
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@771464 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-06 04:50:34 +00:00
Scott Wheeler
88a9ae32f8
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
2008-02-04 15:11:56 +00:00
Scott Wheeler
ac3b8ddde2
SVN_SILENT whitespace
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@770844 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-04 14:49:57 +00:00
Scott Wheeler
edc9bc8788
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
2008-02-04 14:37:37 +00:00
Scott Wheeler
a79cb4deb9
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
2008-02-04 03:28:39 +00:00
Scott Wheeler
c619ea1d58
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
2008-02-02 21:12:47 +00:00
Thiago Macieira
fa679873cd
Typo
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@770095 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-02 19:30:52 +00:00
André Wöbbeking
c7bf095371
use QT_VERSION_CHECK correctly
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-02 13:19:35 +00:00
Scott Wheeler
64bf7d9ce4
More bundle fixes
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-01 16:20:58 +00:00
Scott Wheeler
908cd93fa9
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
2008-02-01 15:57:10 +00:00
Scott Wheeler
aedbaeaf5a
show ape tags in the framelist
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769307 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-01 04:15:59 +00:00
Scott Wheeler
4952d86c6c
Add missing exports
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769306 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-02-01 03:16:51 +00:00
Scott Wheeler
958dfe2451
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
2008-02-01 00:49:01 +00:00
Scott Wheeler
0769375072
SVN_SILENT wrong license header
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769265 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-31 23:08:02 +00:00
Scott Wheeler
904efe7582
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
2008-01-31 23:05:45 +00:00
Scott Wheeler
b87c8f042b
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
2008-01-31 20:55:29 +00:00
Scott Wheeler
72316ef1e7
SVN_SILENT ahem
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769162 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-31 18:17:14 +00:00
Scott Wheeler
6ad03a6b39
SVN_SILENT fix spaces
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769158 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-31 18:03:18 +00:00
Scott Wheeler
17b769a06e
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
2008-01-31 17:57:12 +00:00
Scott Wheeler
b89272f571
another version bump
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-31 17:12:14 +00:00
Scott Wheeler
ab3c78ffeb
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
2008-01-31 17:00:56 +00:00
Scott Wheeler
7997d2cc40
SVN_SILENT docs
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769120 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-31 15:47:10 +00:00
Scott Wheeler
a10600c603
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
2008-01-31 13:29:03 +00:00
Scott Wheeler
37e2d6293f
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
2008-01-31 05:46:13 +00:00
Scott Wheeler
6f6ec8d7de
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
2008-01-31 04:11:42 +00:00
Scott Wheeler
be5c25bbfa
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
2008-01-31 03:41:31 +00:00
Scott Wheeler
f38f6588a2
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
2008-01-31 00:34:43 +00:00
Scott Wheeler
250d411c31
SVN_SILENT a little prettier
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@768943 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-30 23:49:39 +00:00
Scott Wheeler
5aa1b606aa
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
2008-01-30 20:21:31 +00:00
Scott Wheeler
54202bfd5c
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
2008-01-30 19:50:55 +00:00
Scott Wheeler
7f9526113a
docs
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@768600 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-30 12:58:37 +00:00
Scott Wheeler
d26e09926e
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
2008-01-30 12:47:03 +00:00
Scott Wheeler
bdad22b3c6
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
2008-01-30 12:42:23 +00:00
Scott Wheeler
3f19588bb1
don't leak
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@768586 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-30 12:16:03 +00:00
Scott Wheeler
9ae596a2e5
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
2008-01-30 11:29:23 +00:00
Scott Wheeler
458b2b3335
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
2008-01-30 03:31:41 +00:00
Scott Wheeler
adc7c9c841
s/vorbis/speex/ in speex docs
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@768449 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-30 03:16:04 +00:00
Scott Wheeler
e6fa8c4976
bump version
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@768447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-30 03:01:04 +00:00
Scott Wheeler
d8e6b9f4ee
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
2008-01-26 20:20:40 +00:00
Scott Wheeler
fdbfa6d6f6
pedantry
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@764837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2008-01-22 17:33:48 +00:00
Scott Wheeler
abb8173104
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
2008-01-22 10:02:47 +00:00
Lukáš Lalinský
b8435c1ad5
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
2008-01-21 16:40:07 +00:00
Lukáš Lalinský
49bcce586a
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
2008-01-21 15:46:12 +00:00
Michael Pyne
aebb9a8690
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
2007-12-13 02:45:12 +00:00
Lukáš Lalinský
6efe9cfcf2
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
2007-12-01 10:13:13 +00:00
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