Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ASF: Bounds check the size of each header object | bobsayshilol | 2021-05-02 | 1 | -1/+1 |
| | | | | | UBSan spotted an integer overflow on the line `dataPos += size`, so add a bounds check to the size that we read. | ||||
* | Support a consistent set of MusicBrainz properties where possible | Urs Fleisch | 2021-01-10 | 1 | -1/+7 |
| | | | | | | The support for MusicBrainz properties is enhanced with "ARTISTS", "ASIN", "RELEASECOUNTRY", "RELEASESTATUS", "RELEASETYPE", "MUSICBRAINZ_RELEASETRACKID", "ORIGINALDATE" on APE, ASF, MP4, ID3v2, and Xiph tags. | ||||
* | Mark deprected methods and remove internal usage | Scott Wheeler | 2019-09-11 | 2 | -1/+2 |
| | | | | | | | | This does not put the deprecated marker on methods that will or could resolve to the same overload, e.g.: void foo(bool bar = true); // <-- not marked void foo(Bar bar) // <-- since this will have a default argument in the new version | ||||
* | Check if mandatory header objects are present when opening ASF files. | Tsuda Kageyu | 2017-06-13 | 1 | -16/+25 |
| | | | | | Also removes some assignments of "this". It feels too tricky when it is not absolutely necessary. | ||||
* | Merge pull request #799 from TsudaKageyu/filetype-detection | Tsuda Kageyu | 2017-06-12 | 2 | -0/+22 |
|\ | | | | | Enable FileRef to detect file types by the actual content of a stream. | ||||
| * | Rename the functions 'isValidStream' to 'isSupported'. | Tsuda Kageyu | 2017-02-07 | 2 | -2/+2 |
| | | | | | | | | The name 'isValidStream' is a little misleading because it doesn't check if the stream is really valid. Additionally, 'isSupported' can be naturally overloaded. | ||||
| * | Enable FileRef to detect file types by the actual content of a stream. | Tsuda Kageyu | 2017-02-04 | 2 | -0/+22 |
| | | | | | | | | | | FileRef doesn't work with ByteVectorStream as reported at #796, since ByteVectorStream is not associated with a file name and FileRef detects file types based on file extensions. This commit makes FileRef to work with ByteVectorStream by enabling it to detect file types based on the actual content of a stream. | ||||
* | | Fix wrong endian of boolean values when saving ASF files. | Tsuda Kageyu | 2017-02-06 | 1 | -2/+2 |
|/ | |||||
* | Always use parentheses with new. It's a bit safer. | Tsuda Kageyu | 2017-01-16 | 1 | -3/+3 |
| | |||||
* | Initialize all the data members of ASF::Attribute. | Tsuda Kageyu | 2017-01-14 | 1 | -28/+24 |
| | |||||
* | Safer conversion of boolean values in ASF attributes. | Tsuda Kageyu | 2016-12-19 | 1 | -2/+2 |
| | | | | Technically, boolean values in Extended Content Description Object is not necessarily be 0 or 1. | ||||
* | Small fixes | mathbunnyru | 2016-11-24 | 1 | -1/+1 |
| | |||||
* | Revert "Remove more useless inline specifiers." | Tsuda Kageyu | 2016-02-18 | 1 | -5/+5 |
| | | | | This reverts commit dadfe7979953dda7ae04ca1c3638495943dedf6d. | ||||
* | Remove more useless inline specifiers. | Tsuda Kageyu | 2016-02-17 | 1 | -5/+5 |
| | | | | They are no longer needed since the unnamed namespaces have solved the ODR violation. | ||||
* | Inline functions had better have internal linkages. | Tsuda Kageyu | 2016-02-15 | 1 | -47/+50 |
| | | | | This also removes useless inline specifiers. | ||||
* | Use a standard type rather than TagLib::uint. | Tsuda Kageyu | 2015-12-03 | 6 | -28/+28 |
| | | | | This won't break the ABI compatibility. | ||||
* | Use a standard type rather than TagLib::ulong. | Tsuda Kageyu | 2015-12-03 | 1 | -1/+1 |
| | | | | This won't break the ABI compatibility. | ||||
* | Use a standard type rather than TagLib::ushort. | Tsuda Kageyu | 2015-12-02 | 1 | -1/+1 |
| | | | | This won't break the ABI compatibility. | ||||
* | Reduce redundant ref()/deref() operations. | Tsuda Kageyu | 2015-11-22 | 4 | -47/+59 |
| | |||||
* | Avoid using String::null where an empty string is required. | Tsuda Kageyu | 2015-11-20 | 1 | -6/+6 |
| | | | | | String::null is not necessarily be empty or remains the same instance. Using it in a public header may lead to a linkage error. | ||||
* | Remove a warning from a comment and update NEWS. | Tsuda Kageyu | 2015-11-20 | 1 | -3/+0 |
| | |||||
* | Avoid writing duplicate tags when saving ASF files. | Tsuda Kageyu | 2015-11-20 | 1 | -5/+15 |
| | | | | Reduce memory reallocations and copies when saving ASF files. | ||||
* | Efficient lookup for the MP4/ASF field name and ID3v1 genre tables. | Tsuda Kageyu | 2015-11-19 | 1 | -51/+57 |
| | | | | Linear lookup is much faster and memory efficient when an array is very small. | ||||
* | Avoid using ByteVector::null where an empty vector is required. | Tsuda Kageyu | 2015-11-19 | 2 | -5/+6 |
| | | | | | ByteVector::null is not necessarily be empty or remains the same instance. Using it in a public header may lead to a linkage error. | ||||
* | Add self-assignment check in operator= | garima-g | 2015-11-05 | 1 | -4/+6 |
| | | | Method 'operator=' should check its argument with 'this' pointer. | ||||
* | Lalala | Lukáš Lalinský | 2015-08-23 | 1 | -3/+0 |
| | |||||
* | Add warnings about calling File::save() repeatedly. | Tsuda Kageyu | 2015-08-04 | 1 | -0/+3 |
| | |||||
* | ASF: Remove unused formal parameters. | Tsuda Kageyu | 2015-07-31 | 2 | -11/+12 |
| | |||||
* | ASF: Hide some internal functions from the public header. | Tsuda Kageyu | 2015-06-23 | 6 | -172/+212 |
| | |||||
* | ASF: Make use of List iterators and setAutoDelete(). | Tsuda Kageyu | 2015-06-23 | 1 | -30/+31 |
| | |||||
* | ASF: Hide internal class declarations from the public header. | Tsuda Kageyu | 2015-06-23 | 2 | -92/+84 |
| | |||||
* | ASF: Use CodecType enum instead of a magic number. | Tsuda Kageyu | 2015-06-23 | 1 | -2/+10 |
| | |||||
* | ASF: Enable ASF::Properties to get the audio codec information. | Tsuda Kageyu | 2015-06-21 | 4 | -12/+193 |
| | |||||
* | ASF: AudioProperties improvements | Tsuda Kageyu | 2015-06-18 | 3 | -18/+111 |
| | | | | | | | Add lengthInSeconds(), lengthInMilliseconds() properties. (#503) Add bitsPerSample() property. (#360) Add some tests for audio properties. Add some supplementary comments. | ||||
* | Fix some typos in comments. | Tsuda Kageyu | 2015-06-09 | 1 | -2/+2 |
| | |||||
* | Map::erase() can take a key directly so no need to call find() beforehand. | Tsuda Kageyu | 2015-05-23 | 1 | -3/+1 |
| | |||||
* | Bring the API more in line with the rest of TagLib | Scott Wheeler | 2015-05-20 | 2 | -3/+42 |
| | | | | | Like in #255, this also makes it possible to read values from the tag in a const function. | ||||
* | Remove unnecessary checks for null before delete | Scott Wheeler | 2015-05-18 | 2 | -4/+2 |
| | | | | Closes #343 | ||||
* | Store any GUID fields in Metadata Library Object. | Tsuda Kageyu | 2015-04-28 | 1 | -24/+4 |
| | |||||
* | Fix saving WMA files with some GUID fields. | Tsuda Kageyu | 2015-04-28 | 1 | -13/+43 |
| | |||||
* | Add ALBUMARTIST property mapping for WMA | Lukáš Lalinský | 2014-04-10 | 1 | -0/+1 |
| | |||||
* | Merge remote-tracking branch 'TsudaKageyu/comment-update' | Lukáš Lalinský | 2013-07-11 | 1 | -2/+4 |
|\ | |||||
| * | Comment update: Added some supplementary explanations and fixed some spellings. | Tsuda Kageyu | 2013-06-23 | 1 | -2/+4 |
| | | |||||
* | | Updated the relevant comments | Tsuda Kageyu | 2013-07-04 | 1 | -1/+0 |
|/ | |||||
* | Reintroduce HAVE_CONFIG_H so that TagLib can be built without CMake | Lukáš Lalinský | 2013-06-20 | 2 | -2/+0 |
| | |||||
* | Fixed comments for File constructors | Tsuda Kageyu | 2013-05-30 | 1 | -11/+6 |
| | |||||
* | Removed RefCounter implementation from a public header | Tsuda Kageyu | 2013-05-03 | 2 | -0/+2 |
| | |||||
* | Removed config.h and moved macros into taglib_config.h | Tsuda Kageyu | 2013-05-02 | 2 | -4/+2 |
| | |||||
* | Refactor out some stuff to CMake tests | Tsuda kageyu | 2013-04-21 | 5 | -18/+2 |
| | |||||
* | ByteVector::toUInt() takes offset and length | Tsuda kageyu | 2013-04-18 | 2 | -5/+6 |
| |