Commit Graph

  • d1eb678b77 Make the private class a friend so that it can access the protected Header class. BUG:93869 Scott Wheeler 2004-12-08 16:50:10 +00:00
  • a2b316f3fa convert "" comparison to use built in empty() function Benjamin Meyer 2004-11-22 20:08:11 +00:00
  • 4175270a45 1.3.1 Scott Wheeler 2004-11-07 16:10:40 +00:00
  • 16a9b68154 ...and now implement the missing contructor. Scott Wheeler 2004-11-06 14:43:24 +00:00
  • baed5abcac Clean up includes and actually install apeitem.h. Prior to this the APE API wasn't usable. Fortunately I'm planning on releasing a 1.3.1 tomorrow. Scott Wheeler 2004-11-06 14:31:55 +00:00
  • e5e3adc58f Since these headers weren't even usable when installed, might as well go ahead and remove the deprecated crap... Scott Wheeler 2004-11-06 14:24:40 +00:00
  • a3e62fb32e Do bounds checking before assuming that just because we've been told that there are actually more items that there actually are. Scott Wheeler 2004-10-31 20:30:47 +00:00
  • df700f96f6 Add some text explaining the APE format since it's non-obvious trying to find it online and it's poorly written once found. Scott Wheeler 2004-10-31 19:27:24 +00:00
  • 6ac3849f13 CVS_SILENT back in here again -- checking in formatting before content... Scott Wheeler 2004-10-30 16:14:35 +00:00
  • 4b47288bca Don't write a track number if the track is larger than 255. Scott Wheeler 2004-10-29 13:48:55 +00:00
  • 90772906db Make sure that the type conversion happens so that this number ends up being the appropriate seek location. I'm pretty sure that this is what was causing Ogg length information to not work on x86_64. Can you confirm Hamish? Scott Wheeler 2004-10-28 23:27:29 +00:00
  • 200c608f4f CVS_SILENT this comment belongs here now Scott Wheeler 2004-10-28 22:20:00 +00:00
  • a18866a48b Make sure that there's (a) data in a bytevector that we're trying to convert to an integer before trying to convert it and (b) make sure that there's data in an APE::Item before trying to parse it. Scott Wheeler 2004-10-28 22:11:41 +00:00
  • 790c1b16c6 More cleanups and some API docs additions. Scott Wheeler 2004-10-28 22:05:43 +00:00
  • a92f6b94dd Semantic and style cleanups. render() should be const. Use for() loops to loop through lists rather than while, fix bracket style. Scott Wheeler 2004-10-28 21:22:33 +00:00
  • d58cde9eca This line is redundant. Scott Wheeler 2004-10-20 23:34:55 +00:00
  • 9087eacd37 Add some more docs on how to use the ID3v1::StringHandler in the ID3v1::Tag documentation. Scott Wheeler 2004-10-20 23:15:08 +00:00
  • 3d5ab8fd10 Move the sanity check before the unknown frame stuff. As the code currently is if a bogus frame is hit it may try to parse it as an UnknownFrame rather than just discarding it. Scott Wheeler 2004-10-18 15:31:12 +00:00
  • 11f732d198 Forgot this. Time to redo the tarballs. Scott Wheeler 2004-09-10 02:23:31 +00:00
  • 06fbb10a4a CVS_SILENT missing doc for the namespace Scott Wheeler 2004-09-10 02:13:40 +00:00
  • d4561d3345 1.3 -- bump the libtool version Scott Wheeler 2004-09-10 01:54:20 +00:00
  • 68982059d0 misplace conditional Scott Wheeler 2004-09-10 01:42:56 +00:00
  • 133f50e356 Patch from Allan to add support for compressed frames. Scott Wheeler 2004-09-10 01:29:49 +00:00
  • cd50355a4c Remove some annoying debuging code. Allan Sandfeld Jensen 2004-09-09 23:49:49 +00:00
  • a51d1cb117 Scott's silly nitpicks... Scott Wheeler 2004-09-09 00:28:57 +00:00
  • e10bc468c8 Some API overview updates. Scott Wheeler 2004-09-08 22:38:00 +00:00
  • c142f9e47c Mention the return type. Scott Wheeler 2004-09-05 17:55:47 +00:00
  • 20fb2bd1ec Don't try to do stuff to files that aren't valid. Scott Wheeler 2004-09-05 17:54:00 +00:00
  • fa643093bd Cleaning up. Better documentation and remove dead code. Allan Sandfeld Jensen 2004-09-02 19:32:19 +00:00
  • 07f56ac534 Fix typo. Allan Sandfeld Jensen 2004-09-02 18:50:26 +00:00
  • f086fdaba5 Set APELocation to the beginning of the APE-tag Allan Sandfeld Jensen 2004-08-25 15:37:53 +00:00
  • c538ac3912 Some extra documentation. Allan Sandfeld Jensen 2004-08-23 21:57:07 +00:00
  • e5944a6f46 Find the starting position. Allan Sandfeld Jensen 2004-08-23 20:39:32 +00:00
  • 3ab81ed05d Update interface. Just needs more documentation now. Allan Sandfeld Jensen 2004-08-23 20:38:47 +00:00
  • d0095d3cd7 Convert from ByteVectorList to StringList Allan Sandfeld Jensen 2004-08-23 15:26:23 +00:00
  • bdee6dcf73 APE-tags for mp3s. Currently they are for special purposes only, and thus not used as a part of the union tag. Allan Sandfeld Jensen 2004-08-15 21:14:12 +00:00
  • 60959a1b5b add api docs Scott Wheeler 2004-08-08 06:04:42 +00:00
  • 740f868333 Make sure that we're not setting the string size to -1. Scott Wheeler 2004-08-07 20:23:10 +00:00
  • 47ddbca63b CVS_SILENT forgot a short description Scott Wheeler 2004-08-07 01:39:26 +00:00
  • 2a48666f80 Adding support for the Unique File Identifier ID3v2 frame type (UFID). Scott Wheeler 2004-08-07 00:59:16 +00:00
  • c3c54b570a Add support for custom ID3v2 text frames (TXXX). Scott Wheeler 2004-08-06 23:41:56 +00:00
  • 43a570f5b2 Add overloads here so that the return type is in fact StringList. Scott Wheeler 2004-08-06 21:51:32 +00:00
  • 65bf71cd61 Return a reference to the current list from append(). Scott Wheeler 2004-08-06 21:07:46 +00:00
  • 4aaa73f613 Here's an oops -- this *really* should have been virtual. I'm not sure how I missed that. I'll come up with something -- probably a functor or similar to work around this at some point. Scott Wheeler 2004-08-06 01:54:28 +00:00
  • cc6bf884a3 Ignore compressed and encrypted ID3v2 frames rather than just blindly giving back the compressed/encrypted data as a string. Scott Wheeler 2004-08-02 19:35:47 +00:00
  • ae2113e716 Always explicitly check for divide by zero conditions. Scott Wheeler 2004-08-02 12:51:14 +00:00
  • 650b561eda Create a correct footer Allan Sandfeld Jensen 2004-08-01 23:30:06 +00:00
  • 15f864a779 A few changes to make the interface more flexible. It can now remove tags including ID3v2. Allan Sandfeld Jensen 2004-08-01 23:29:42 +00:00
  • 06122de67f Standard stuff -- make it fit with the coding style of the rest of TagLib and make it build. There are still some missing API docs and I'm not sure how I feel about non-opaque types (Item in this case) since they're not used elsewhere in the API, but this will do for now. Scott Wheeler 2004-07-27 02:35:47 +00:00
  • b7d9398052 This is wrong -- this would indicate a BIC library release. Please see "info:/libtool/Updating version info" when changing the libtool version string. Scott Wheeler 2004-07-27 02:00:01 +00:00
  • dbc0fe07c9 Make mpc use the new APETag-structure Allan Sandfeld Jensen 2004-07-26 19:04:40 +00:00
  • 73c2311010 Refactoring. APE-tags are not native to musepack, so I am moving it out. Seperated footer-decoding the same way header-decoding is seperated in ID3v2. Fixed a bug with the version in the footer. Should be 2000 (read 2.000) not 2. Allan Sandfeld Jensen 2004-07-26 19:03:28 +00:00
  • 1ad5582391 missing const Scott Wheeler 2004-07-26 13:44:59 +00:00
  • 2025c4e9e5 Large update: * Give access to APEv2 features like lists and read-only fields (not enforced by TagLib). * Support one common mistake: ID3v1 tags placed after an APE-tag. In this case both tags are now read and maintained. APE-tags after an ID3v1 tag is not supported. Allan Sandfeld Jensen 2004-07-26 12:58:59 +00:00
  • 62ca49decb Mark HEAD as TagLib 1.3 Scott Wheeler 2004-07-26 03:39:34 +00:00
  • 74b656091a Provide a default (empty) value for the language. The lack thereof was was causing the bytes to not get lined up properly in the newly written tag and then they weren't read back properly. Scott Wheeler 2004-07-26 03:14:05 +00:00
  • 9963e67865 Use setData() rather than parseFields() here to make sure that the frame header is initialized. Scott Wheeler 2004-07-26 02:44:23 +00:00
  • cd32d1f8a3 Make it possible to strip tags without deleting them (again). This is used by MPEG::File::save() so that tags that aren't explicitly saves still exist in memory. Scott Wheeler 2004-07-26 02:22:05 +00:00
  • 3de6f40776 CVS_SILENT indentation oops from the last commit Scott Wheeler 2004-07-26 02:19:26 +00:00
  • d257ddfd02 Update the ID3v1 location when stripping the ID3v2 tag. Scott Wheeler 2004-07-26 01:49:18 +00:00
  • 3a81dfb883 Fix a number of bugs to get things working with ID3v2.4 tags generated by libid3tag: Scott Wheeler 2004-07-26 01:29:39 +00:00
  • d8fc67ac67 Return a bool indicating if the save was successful as in File::save() Scott Wheeler 2004-07-24 17:30:54 +00:00
  • ab51136a54 Off by one -- make tagreader work with mpc files. Scott Wheeler 2004-07-20 22:50:30 +00:00
  • fd09b23aa0 Add MPC to the C bindings. Scott Wheeler 2004-07-20 22:46:38 +00:00
  • 28738debc1 A few more nitpicks. Scott Wheeler 2004-07-20 22:40:57 +00:00
  • 382f8194c1 standard style nitpicks and make it build with gcc 2.95 Scott Wheeler 2004-07-20 22:30:00 +00:00
  • 2fd6401354 Improve behavoir: * use setValid(false) to indicate broken files * avoid reading over file-end in case of truncated files * subtract size of ID3v1 from streamSize * skip known ID3v2 tag when scanning for first FLAC-frame CCMAIL: [email protected] CCMAIL: [email protected] Allan Sandfeld Jensen 2004-07-19 17:22:32 +00:00
  • f650edc81d Correct includes so they work when included with path, like: #include <taglib/mpcfile.h> Allan Sandfeld Jensen 2004-07-17 16:04:50 +00:00
  • ba10ce016f Also update taglib-config Allan Sandfeld Jensen 2004-07-17 14:19:48 +00:00
  • 837872a113 Fix a bit of bitrot Allan Sandfeld Jensen 2004-07-17 14:17:09 +00:00
  • cda53a3db4 Add support for reading musepack(mpc)-files and parsing APE-tags(v1 and v2). Bumb version to have something to check for in JuK and kfile_mpc Allan Sandfeld Jensen 2004-07-17 13:39:27 +00:00
  • 425d793752 Compile Allan Sandfeld Jensen 2004-07-14 11:33:46 +00:00
  • 05221f8206 Add find and erase semantics like those in tlist.h Allan Sandfeld Jensen 2004-07-13 18:28:50 +00:00
  • 6879050c54 Valgrind says home-brew strdup() is broken Fixes saving of MP3 meta-info from properties dialog Waldo Bastian 2004-07-12 16:07:27 +00:00
  • 9a365f9e7e Fix spelling. Scott Wheeler 2004-06-26 14:26:36 +00:00
  • 8de9b1f26a Don't try to read the properties from the bytevector if it's smaller than the required size; in this case empty. Also some minor nitpicks along the way. Scott Wheeler 2004-06-24 15:48:58 +00:00
  • 5b0c38eee9 CVS_SILENT add a note in the docs about strip() behavior Scott Wheeler 2004-06-23 22:39:39 +00:00
  • 430e20f191 Another nice patch from Teemu Tervo. This deletes the tags from memory when they're stripped from the file. Scott Wheeler 2004-06-23 22:38:21 +00:00
  • 737be443d6 Update the C bindings to reflect the earlier change in the return type for saving files. Scott Wheeler 2004-06-23 21:52:27 +00:00
  • 0d04000f74 oops -- forgot FLAC -- return bool for the FLAC::File::save() too to provide some information on if the save was successful. Scott Wheeler 2004-06-23 18:45:26 +00:00
  • 8bdecaf320 CVS_SILENT forgot to save this file before the last commit -- doc update Scott Wheeler 2004-06-23 18:37:00 +00:00
  • 420541441c Switch the return type of File::save() from void to bool to provide a little bit of feedback on whether or not the safe operation worked. Scott Wheeler 2004-06-23 18:35:52 +00:00
  • 5f2e59150c Ah, this one's easy -- though an odd corer case; there's a Xing header here but no MPEG frames. This was triggering a divide by zero. Scott Wheeler 2004-06-17 15:33:53 +00:00
  • 2817d4e507 initialize variable Scott Wheeler 2004-06-15 10:13:05 +00:00
  • b9de676bc0 Parse ID3v2.4 genres as a list of fields rather than a text string with the ID3v1 genre in parenthesis. Scott Wheeler 2004-06-09 14:57:30 +00:00
  • b69dd382c6 Add iterators and operator[] to the string class. Scott Wheeler 2004-06-09 13:33:05 +00:00
  • 0c6be64f8a Two issues pointed out by Gary Peck: *) Note that adding and removing frames from the ID3v2::Tag will invalidate iterators on the frame list *) Correct the number of genres -- it should be 148 instead of 147. You can all have your Synthpop genre back now. :-) Scott Wheeler 2004-06-06 00:10:58 +00:00
  • 05e484830c Don't die on invalid input. Scott Wheeler 2004-05-29 20:12:36 +00:00
  • 9320aa0bbc Oops. Pretty significant type in the frame name for recording date. This will automatically fix these files on the next write. (At the moment other taggers will not be able to read the date written by TagLib in the ID3v2 tag. In most cases they'll fall back to the ID3v1 tag, which is fine, but still kind of nasty.) Thanks to Teemu Tervo for catching this. Scott Wheeler 2004-05-24 07:37:41 +00:00
  • 3ca114a4ee Add a short description Scott Wheeler 2004-05-13 00:09:41 +00:00
  • b29a821ed4 documentation fixes Scott Wheeler 2004-05-13 00:08:00 +00:00
  • 1770ffd35a Add a frameList() overload that accepts a frame ID as a shortcut to the frameListMap(). Scott Wheeler 2004-05-13 00:07:30 +00:00
  • b9c9fd6c8d Added an example on how to read additional frames. Scott Wheeler 2004-05-10 01:07:58 +00:00
  • efd221e9b4 doxygen fix Scott Wheeler 2004-05-09 20:44:52 +00:00
  • 1be868b5b7 CVS_SILENT docs fix Scott Wheeler 2004-05-09 17:54:40 +00:00
  • f9ca8cd69b Just a little hack to make the Vorbis classes appear in the Ogg namespace in the API docs and a tyepdef to make this work (since this is how things will be in the next BIC version). Scott Wheeler 2004-05-06 16:59:13 +00:00
  • 6a2cdbcc45 A small regression -- when assigning a ByteVector to a String make sure to not include the trailing null characters. (This was introduced after the last release.) Scott Wheeler 2004-05-06 12:36:31 +00:00
  • ceb989f170 Don't append a framing bit when writing Xiph comments to FLAC files since this renders them unplayable with some players. Thanks to Jason Lee for tracking this down! Scott Wheeler 2004-05-04 01:47:01 +00:00
  • 5895810131 Add docs. Scott Wheeler 2004-04-28 00:58:46 +00:00
  • 9e15659dbf Oops, the implementation of this constructor was missing. Scott Wheeler 2004-04-28 00:23:52 +00:00