2494 Commits

Author SHA1 Message Date
8736e65235 Reorganizing.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587996 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 16:32:42 +00:00
711821f245 Reorganizing. Hmm, it seems that svn is going to make me enter this message a helluva lot.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587995 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 16:30:31 +00:00
334b4d4de1 Reorganizing.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587993 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 16:30:00 +00:00
21b4d79f98 Reorganizing.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587992 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 16:29:44 +00:00
9a2f90be89 Re-add automake/autoconf stuff. I'm tempted to delete the CMake stuff while I'm
at it, but I'll leave it for now...


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587989 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 16:17:47 +00:00
0b428130f3 Now taglib compiles with cmake
Remove old build system


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587949 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 14:45:33 +00:00
2281edf20f Fix generate lib.
it fixes juk compile


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587917 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 12:59:05 +00:00
690b126377 Fix install it as programs
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587902 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 12:32:54 +00:00
35dabd3770 Fix install files
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587900 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-24 12:26:46 +00:00
3ffe198d09 Fix soname
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586789 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-20 16:10:10 +00:00
5fa19b47c2 Fix generate file
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586787 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-20 16:08:36 +00:00
967b9c41b6 Fix generate files
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586784 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-20 16:08:12 +00:00
0a3ae0b2f5 Fix it
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586717 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-20 12:58:37 +00:00
d3d4061adc Fix CMakefiles
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586716 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-20 12:57:59 +00:00
e3cf99c87a Add cmake support
All compile need to test now


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586714 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-20 12:52:28 +00:00
dae3f83820 Invalid iterators are ungood. Mmmkay?
CCMAIL:taglib-devel@kde.org


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@585155 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-16 12:11:43 +00:00
fdb603c88f It makes more sense to return iterators here. (The return types weren't there
in the last release, so this isn't API breakage.)


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@585152 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-16 12:09:48 +00:00
52ec948d7e fix
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@583305 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-11 23:32:35 +00:00
0586b68b7d fix includes
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@583286 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-09-11 22:42:50 +00:00
dbb4cb564b Add PC file for the C bindings.
CCMAIL:taglib-devel@kde.org


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579380 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-31 23:14:30 +00:00
5f3ccc1b95 SVN_SILENT another minor-typo
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-31 22:49:38 +00:00
1f7236d426 SVN_SILENT extra space
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579371 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-31 22:46:41 +00:00
f01c8531d0 Patches from Aaron VonderHaar for a GEOB frame implementation.
Nice patches Aaron!

CCMAIL:taglib-devel@kde.org
CCMAIL:gruen0aermel@gmail.com



git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-31 22:44:17 +00:00
1db03808ce Starting in a bit on my TODO list from taglib-devel.
This is an invalid conversion.  It may be worthwhile to do the conversions at a
higher level at some point (in the tag, rather than frame generation), but for
now just remove this one.

CCMAIL:taglib-devel@kde.org


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-31 21:25:00 +00:00
7ad144536d Hmm. Actually assign the flag here. Thanks to Dirk for catching this.
BUG:130754


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579077 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-31 00:51:22 +00:00
ea12745d12 Make sure that these flags are set to the values that are actually used.
BUG:132191


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@578697 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-29 23:19:21 +00:00
f8d1b7bb4f Update the TCON (genre) frame as we create it so that we don't keep ID3v2.3
formatted data sitting around waiting to be written to 2.4 tags.

BUG:132018


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@578687 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-29 23:06:14 +00:00
784f71409b Add a warning note to File::save()
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@573841 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-17 10:31:52 +00:00
8e52873513 Make sure that there's always a description and content even if they're empty.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@572797 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-13 23:49:27 +00:00
2f1645947a This if doesn't need to be there. The encoding byte should be there even if there
is no string content.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@572787 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-13 23:10:43 +00:00
071c691a9a Make removeField() actually remove the map content, not just
empty the list.  Also added an erase method to Map that works on keys
rather than itterators.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@572681 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-13 15:25:48 +00:00
953b8a119a Add a simple function for checking for membership in the fieldListMap.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@572680 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-13 15:19:36 +00:00
71a392fe81 The non-const functions here should call detach.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@572630 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-13 12:29:26 +00:00
545c9ebeb7 ignoring
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@570113 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-08-05 18:04:04 +00:00
23bd433cde Default to ID3v2.4 in the header (fixes the bug just reported on the list)
CCMAIL:taglib-devel@kde.org


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@554946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-25 20:27:17 +00:00
3856f38655 Don't overrun the buffer if the first byte is 0xff
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@553365 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-20 20:41:30 +00:00
a6aeaef64e oops
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@552202 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-16 23:26:25 +00:00
6a66c36a0c Here's another easy one that helps out on ginormus strings.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@552198 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-16 22:50:09 +00:00
e83f93b2c0 A couple more optimizations for splitting vectors. One of them makes search
faster in the simple case (no need for Boyer-Moore for a one-character search)
and append a null vector rather than instantiating a new one when we find empty
fields.

This gets the reading time down to 6 seconds here for the reported bug, which
still isn't great, but it's starting to get close to acceptable.  I'll see if I
can get it a little tighter...

BUG:122183


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@552196 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-16 22:38:20 +00:00
eb1b7c8255 This is much, much faster on large byte vectors and gets the current bug down
to where it can read the tag in around 18 seconds unstead of 30 minutes.

I'm going to see if I can find the other hot paths now...

CCBUG:122183


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@552178 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-16 20:36:36 +00:00
ebf56779f4 Allan's commit was in the wrong branch -- don't corrupt files on
write...


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@549613 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-09 09:48:28 +00:00
88aa8c125d This comes from strdup, so it should be freed rather than deleted.
Patch from Jon Burgess.

BUG:127260


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@549379 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-06-08 12:22:18 +00:00
ef34e50406 Initialize tag to avoid possible crashes
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@540838 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-05-14 19:18:47 +00:00
f181d1d18b SVN_SILENT accidentally inserted tabs
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@538782 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-05-08 20:49:01 +00:00
3f3026b349 Add a function to set the default ID3v2 encoding in the C API.
BUG:126192


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@538781 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-05-08 20:45:42 +00:00
02cf970e0d Patch from John Stirling to fix bitmasks for header fields.
BUG:70649


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@538764 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-05-08 20:08:33 +00:00
fca59f432e docs typo
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@532016 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-04-20 20:31:25 +00:00
985630d59a SVN_SILENT
Forgot to add docs.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@515072 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-03-02 15:13:54 +00:00
3a24d31b43 Two things:
- Fix the channel mode, copyright and original flags, as noticed by
   Bjoern Petersen.
 - Check in the "findByDescription()" function that I've had sitting
   around for a while.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@515068 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-03-02 15:02:27 +00:00
c35d249195 Add a wide string export fuction.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@508477 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2006-02-11 21:18:03 +00:00