]>
granicus.if.org Git - taglib/log
Tsuda Kageyu [Fri, 31 Jul 2015 15:15:51 +0000 (00:15 +0900)]
MPEG: Hide an internal function from the public header.
Tsuda Kageyu [Fri, 31 Jul 2015 15:09:37 +0000 (00:09 +0900)]
MPEG: Remove unused formal parameters.
Tsuda Kageyu [Tue, 30 Jun 2015 02:58:07 +0000 (11:58 +0900)]
MPEG: Fix warnings about signed/unsigned mismatch on some compilers.
Tsuda Kageyu [Tue, 26 May 2015 03:44:25 +0000 (12:44 +0900)]
MPEG: No need to get the length of an ID3v2 tag twice.
Tsuda Kageyu [Tue, 26 May 2015 02:54:57 +0000 (11:54 +0900)]
MPEG: Properties::xingHeader() should return null if a VBR header is not found.
Tsuda Kageyu [Thu, 21 May 2015 04:59:32 +0000 (13:59 +0900)]
MPEG: AudioProperties improvements
Add lengthInSeconds(), lengthInMilliseconds() properties. (#503)
Support VBRI header in addition to Xing. (#136)
Fix MPEG frame seeker functions. (maybe #190)
Calculate MPEG frame length accurately.
Remove some data members which are not needed to carry.
Add some tests for audio properties.
Add some supplementary comments.
Scott Wheeler [Thu, 18 Jun 2015 06:22:59 +0000 (08:22 +0200)]
Merge pull request #611 from TsudaKageyu/fix-bufsize
Fix mismatched file I/O buffer sizes.
Tsuda Kageyu [Thu, 18 Jun 2015 02:22:54 +0000 (11:22 +0900)]
Fix mismatched file I/O buffer sizes.
Scott Wheeler [Mon, 15 Jun 2015 19:15:08 +0000 (21:15 +0200)]
Merge pull request #607 from TsudaKageyu/unused-function
Remove some unused private function prototypes.
Tsuda Kageyu [Fri, 12 Jun 2015 05:07:52 +0000 (14:07 +0900)]
Removed an unused data member from MPE::File.
It seems to be related to scan().
Tsuda Kageyu [Fri, 12 Jun 2015 02:50:38 +0000 (11:50 +0900)]
Remove some unused private function prototypes.
Stephen F. Booth [Tue, 9 Jun 2015 02:19:27 +0000 (22:19 -0400)]
Merge pull request #594 from TsudaKageyu/typos-in-comment
Fix some typos in comments.
Tsuda Kageyu [Tue, 9 Jun 2015 01:33:32 +0000 (10:33 +0900)]
Fix some typos in comments.
Scott Wheeler [Tue, 2 Jun 2015 23:20:48 +0000 (01:20 +0200)]
Add const to docs
Stephen F. Booth [Tue, 2 Jun 2015 12:19:33 +0000 (08:19 -0400)]
Merge pull request #591 from TsudaKageyu/wmemcpy
Use wmemcpy() rather than memcpy() and sizeof(wchar_t).
Tsuda Kageyu [Mon, 1 Jun 2015 04:52:55 +0000 (13:52 +0900)]
Use wmemcpy() rather than memcpy() and sizeof(wchar_t).
Michael Helmling [Fri, 29 May 2015 17:53:42 +0000 (19:53 +0200)]
Prefix #ifndef with TAGLIB_ in tpropertymap.h
Scott Wheeler [Tue, 26 May 2015 15:53:24 +0000 (17:53 +0200)]
Merge pull request #577 from TsudaKageyu/frameoffset
Fix MPEG::File::firstFrameOffset() and lastFrameOffset(). (#190)
Stephen F. Booth [Mon, 25 May 2015 12:41:37 +0000 (08:41 -0400)]
Merge pull request #578 from TsudaKageyu/test-temp
A lot of zero-sized temporary files are left after a test session on …
Tsuda Kageyu [Mon, 25 May 2015 06:51:19 +0000 (15:51 +0900)]
A lot of zero-sized temporary files are left after a test session on Windows.
Stephen F. Booth [Sun, 24 May 2015 18:38:50 +0000 (14:38 -0400)]
Merge pull request #574 from TsudaKageyu/skip-dup-chunks
Skip duplicate chunks when reading AIFF/WAV files.
Tsuda Kageyu [Sun, 24 May 2015 17:41:27 +0000 (02:41 +0900)]
Fix MPEG::File::firstFrameOffset() and lastFrameOffset(). (#190)
Tsuda Kageyu [Sun, 24 May 2015 15:40:13 +0000 (00:40 +0900)]
Skip duplicate chunks when reading AIFF/WAV files.
Similar to #492.
There is no good reason to use the last chunk rather than the first one.
Stephen F. Booth [Sat, 23 May 2015 12:21:58 +0000 (08:21 -0400)]
Merge pull request #572 from TsudaKageyu/map-erase2
Map::erase() can take a key directly so no need to call find() before…
Tsuda Kageyu [Sat, 23 May 2015 09:12:01 +0000 (18:12 +0900)]
Map::erase() can take a key directly so no need to call find() beforehand.
Stephen F. Booth [Fri, 22 May 2015 11:44:41 +0000 (07:44 -0400)]
Merge pull request #571 from TsudaKageyu/fuzzed-wv
Avoid an infinite loop when reading fuzzed WavPack files. (#482)
Stephen F. Booth [Fri, 22 May 2015 11:41:46 +0000 (07:41 -0400)]
Merge pull request #570 from TsudaKageyu/audioprop-typo
Fix a typo in comment.
Tsuda Kageyu [Fri, 22 May 2015 05:11:06 +0000 (14:11 +0900)]
Avoid an infinite loop when reading fuzzed WavPack files. (#482)
Tsuda Kageyu [Fri, 22 May 2015 03:05:33 +0000 (12:05 +0900)]
Fix a typo in comment.
Stephen F. Booth [Fri, 22 May 2015 02:46:15 +0000 (22:46 -0400)]
Merge pull request #569 from TsudaKageyu/map-erase
std::map::erase() can take a key directly and has no-throw guarantee.
Stephen F. Booth [Fri, 22 May 2015 02:44:10 +0000 (22:44 -0400)]
Merge pull request #484 from TsudaKageyu/fix-rfind
Fix File::rfind() for small files.
Tsuda Kageyu [Thu, 21 May 2015 16:26:56 +0000 (01:26 +0900)]
std::map::erase() can take a key directly and has no-throw guarantee.
Lukáš Lalinský [Wed, 20 May 2015 22:18:01 +0000 (15:18 -0700)]
TagLib::XM::Properties is a public class that should be exported
Scott Wheeler [Wed, 20 May 2015 17:24:52 +0000 (19:24 +0200)]
Merge pull request #550 from TsudaKageyu/fix-test
Fix test code to work on some environments.
Tsuda Kageyu [Wed, 20 May 2015 17:03:06 +0000 (02:03 +0900)]
Fix test code to work on some environments.
const char * is more preferable than string for ifstream constructor.
Scott Wheeler [Wed, 20 May 2015 12:23:48 +0000 (14:23 +0200)]
Bring the API more in line with the rest of TagLib
Like in #255, this also makes it possible to read values from the
tag in a const function.
Scott Wheeler [Wed, 20 May 2015 11:50:49 +0000 (13:50 +0200)]
Merge pull request #549 from TsudaKageyu/win32-test
Modify the test code to work on MSVC/Windows.
Tsuda Kageyu [Wed, 20 May 2015 10:57:08 +0000 (19:57 +0900)]
Modify the test code to work on MSVC/Windows.
Scott Wheeler [Wed, 20 May 2015 09:53:32 +0000 (11:53 +0200)]
This should also work Windows and has less duplicated code
Scott Wheeler [Wed, 20 May 2015 09:43:43 +0000 (11:43 +0200)]
Don't use tempnam on UNIX
This silences the huge stream of warnings when building the tests.
I think I didn't break the Windows version in the process (though
it may make sense to use the built in Windows functions there
instead), but I don't have a Windows build environment here, so
I can't test.
Scott Wheeler [Tue, 19 May 2015 17:57:47 +0000 (19:57 +0200)]
Merge pull request #546 from TsudaKageyu/test-surrogate-pair
Add a test for strings that contains surrogate pairs.
Scott Wheeler [Tue, 19 May 2015 09:28:50 +0000 (11:28 +0200)]
Merge pull request #548 from TsudaKageyu/render-twice
No need to call ID3v2::Frame::render() twice when saving an ID3v2 tag.
Tsuda Kageyu [Tue, 19 May 2015 08:39:37 +0000 (17:39 +0900)]
No need to call ID3v2::Frame::render() twice when saving an ID3v2 tag.
Scott Wheeler [Tue, 19 May 2015 08:15:15 +0000 (10:15 +0200)]
Quote path names including user-provided variables
This should make these work even if the value contains spaces
Closes #344
Tsuda Kageyu [Mon, 23 Feb 2015 00:38:12 +0000 (09:38 +0900)]
Add a test for strings that contains surrogate pairs.
Scott Wheeler [Mon, 18 May 2015 21:11:51 +0000 (23:11 +0200)]
Remove *file argument to private members
This is already covered by d->file, so there's no reason to pass a pointer
to the member dozens of times.
Scott Wheeler [Mon, 18 May 2015 21:00:16 +0000 (23:00 +0200)]
Moar const fixes
Scott Wheeler [Mon, 18 May 2015 20:25:00 +0000 (22:25 +0200)]
1001 Const fixes (plus iterator rename)
Scott Wheeler [Mon, 18 May 2015 19:40:11 +0000 (21:40 +0200)]
Remove unnecessary checks for null before delete
Closes #343
Scott Wheeler [Mon, 18 May 2015 19:36:37 +0000 (21:36 +0200)]
Merge pull request #515 from TsudaKageyu/empty-id3v2-frame
Skip empty ID3v2 frames when saving an ID3v2 tag.
Scott Wheeler [Mon, 18 May 2015 19:18:33 +0000 (21:18 +0200)]
Add accessors to manipulate MP4 tags without modifying the internal structure
This brings the MP4 API in line closer to other tag formats and makes it
possible to access the tag data from const functions.
"ItemListMap" has been renamed to "ItemMap" (with the old version
deprecated). It seems that the "ListMap" notion was copied probably
from Allan's ApeTag implementation, which incorrectly copied the term
from the XiphTag. Notably, in XiphTag, because a field can have multiple
values, the "ListMap" is a map of lists. Calling things a "ListMap" where
there can be only one value doesn't fit.
Closes #255
Scott Wheeler [Mon, 18 May 2015 18:30:19 +0000 (20:30 +0200)]
Add isEmpty() to MP4
Closes #457
Scott Wheeler [Mon, 18 May 2015 17:51:18 +0000 (19:51 +0200)]
Show something useful for ChapterFrame::toString()
Closes #517
Tsuda Kageyu [Thu, 1 Jan 2015 07:40:13 +0000 (16:40 +0900)]
Fix File::rfind() for small files to work just like ByteVector::rfind().
Scott Wheeler [Mon, 18 May 2015 16:19:43 +0000 (18:19 +0200)]
Update signature and docs
Specifically this allows the frame to be constructed and then to have
the children and embedded frames set later.
Scott Wheeler [Mon, 18 May 2015 16:12:34 +0000 (18:12 +0200)]
Remove the null termination stuff from the ToC frames too
Scott Wheeler [Mon, 18 May 2015 15:29:52 +0000 (17:29 +0200)]
We've moved away from including the null byte in the returned value
This does change previous behavior, but the previous behavior was
particularly stupid and inconsistent with everything else in TagLib.
It should be possible to mitigate this by putting the same safety
guards in the TableOfContents
Scott Wheeler [Mon, 18 May 2015 15:11:06 +0000 (17:11 +0200)]
Don't underflow if there are no embedded frames
Closes #513
Scott Wheeler [Mon, 18 May 2015 14:53:12 +0000 (16:53 +0200)]
This isn't tracked as part of the elementID anymore
Scott Wheeler [Mon, 18 May 2015 14:45:57 +0000 (16:45 +0200)]
Split chapter data and embedded frame data
This will allow us to test parsing them separately
Scott Wheeler [Mon, 18 May 2015 14:41:30 +0000 (16:41 +0200)]
Don't require users to include a padding byte explicitly
This makes it where the natural construction can be used of something
like:
new ChapterFrame("ID", ... )
Closes #514
Scott Wheeler [Mon, 18 May 2015 14:25:06 +0000 (16:25 +0200)]
Also test second constructor
Scott Wheeler [Mon, 18 May 2015 13:35:41 +0000 (15:35 +0200)]
Update signature and docs to be more in-line with TagLib's style
Scott Wheeler [Mon, 18 May 2015 13:09:28 +0000 (15:09 +0200)]
Merge pull request #544 from TsudaKageyu/advance
Use std::advance rather than a loop and increment.
Scott Wheeler [Mon, 18 May 2015 12:21:55 +0000 (14:21 +0200)]
It doesn't make sense to set the factory after construction
Closes #259
Scott Wheeler [Mon, 18 May 2015 10:42:24 +0000 (12:42 +0200)]
Make this macro work with current Qt versions
Closes #499
Tsuda Kageyu [Mon, 18 May 2015 10:03:20 +0000 (19:03 +0900)]
Add a test to check if an empty ID3v2 frame is really skipped.
Scott Wheeler [Mon, 18 May 2015 09:30:28 +0000 (11:30 +0200)]
Add astylerc
Tsuda Kageyu [Mon, 18 May 2015 00:31:43 +0000 (09:31 +0900)]
Use std::advance rather than a loop and increment.
Lukáš Lalinský [Sun, 17 May 2015 17:06:10 +0000 (10:06 -0700)]
Merge pull request #521 from TsudaKageyu/gcc-warning
Fix a GCC/Clang warning about singed/unsigned comparison.
Lukáš Lalinský [Sun, 17 May 2015 17:05:43 +0000 (10:05 -0700)]
Merge pull request #542 from TsudaKageyu/comment-typos
Fix some typos in comment.
Tsuda Kageyu [Sun, 17 May 2015 15:31:46 +0000 (00:31 +0900)]
Fix some typos in comment.
Lukáš Lalinský [Sun, 17 May 2015 00:03:53 +0000 (17:03 -0700)]
Merge pull request #535 from FestusHagen/fh1.m_UintAmbiguity
Silenced uint ambiguity error.
Lukáš Lalinský [Sat, 16 May 2015 03:06:24 +0000 (20:06 -0700)]
Merge pull request #538 from gogglesmm/optimize-mid-to-uint
bytevector.mid(pos,4).toUInt() => bytevector.toUInt(pos)
Lukáš Lalinský [Sat, 16 May 2015 02:48:43 +0000 (19:48 -0700)]
Merge pull request #536 from FestusHagen/fh1.m_CMakeSubProjectFix
Fix for using Taglib as a CMake sub directory project.
Lukáš Lalinský [Sat, 16 May 2015 02:43:38 +0000 (19:43 -0700)]
Merge pull request #533 from TsudaKageyu/bytevector-resize
Fix the wrong padding of ByteVector::resize().
Sander Jansen [Sat, 16 May 2015 02:39:34 +0000 (21:39 -0500)]
Fix code styling
Sander Jansen [Sat, 16 May 2015 02:25:44 +0000 (21:25 -0500)]
replace use of bytevector.mid(pos,4).toUInt() with more optimized bytevector.toUInt(pos)
Tsuda Kageyu [Sat, 16 May 2015 02:16:00 +0000 (11:16 +0900)]
Revert the last two commits.
But leave the tests unchanged, and add some comments.
Tsuda Kageyu [Fri, 15 May 2015 18:46:34 +0000 (03:46 +0900)]
Reduce redundant memset when resizing ByteVector.
Tsuda Kageyu [Thu, 14 May 2015 02:20:35 +0000 (11:20 +0900)]
Expand the internal buffer of ByteVector only if really needed.
Add tests for all execution paths of ByteVector::resize().
Festus Hagen [Tue, 28 Apr 2015 07:24:04 +0000 (03:24 -0400)]
Fix for using Taglib as a CMake sub directory project.
Festus Hagen [Tue, 28 Apr 2015 07:00:21 +0000 (03:00 -0400)]
Silenced uint ambiguity error.
Tsuda Kageyu [Fri, 1 May 2015 17:34:40 +0000 (02:34 +0900)]
Fix the wrong padding of ByteVector::resize().
The expanded area will be filled with garbage instead of correct padding in some corner cases.
Lukáš Lalinský [Wed, 29 Apr 2015 17:14:16 +0000 (10:14 -0700)]
Merge pull request #532 from TsudaKageyu/bytevector-detach-test
A little robuster tests for ByteVector iterators after detaching.
Tsuda Kageyu [Wed, 29 Apr 2015 08:15:13 +0000 (17:15 +0900)]
A little robuster tests for ByteVector iterators after detaching.
Lukáš Lalinský [Wed, 29 Apr 2015 03:34:53 +0000 (20:34 -0700)]
Merge pull request #531 from TsudaKageyu/bytevector-detach
Fix ByteVector to return correct iterators after detached.
Tsuda Kageyu [Wed, 29 Apr 2015 01:28:08 +0000 (10:28 +0900)]
Fix ByteVector to return correct iterators after detached.
Lukáš Lalinský [Tue, 28 Apr 2015 17:42:06 +0000 (10:42 -0700)]
Merge pull request #527 from TsudaKageyu/wma-guid
Fix saving WMA files with some GUID fields.
Tsuda Kageyu [Tue, 28 Apr 2015 07:40:24 +0000 (16:40 +0900)]
Store any GUID fields in Metadata Library Object.
Tsuda Kageyu [Tue, 28 Apr 2015 02:43:43 +0000 (11:43 +0900)]
Fix saving WMA files with some GUID fields.
Tsuda Kageyu [Fri, 17 Apr 2015 00:38:21 +0000 (09:38 +0900)]
Fix a GCC/Clang warning about singed/unsigned comparison.
Stephen F. Booth [Wed, 25 Mar 2015 12:16:41 +0000 (08:16 -0400)]
Merge pull request #492 from TsudaKageyu/duplicate-id3v2-aiff-wav
Check AIFF/WAV files for duplicate tags.
Tsuda Kageyu [Tue, 24 Mar 2015 01:41:39 +0000 (10:41 +0900)]
Take into account the frame header version when skipping an empty frame.
Tsuda Kageyu [Tue, 24 Mar 2015 01:31:52 +0000 (10:31 +0900)]
Discard empty ID3v2 frames instead of adding a dummy null byte.
Tsuda Kageyu [Sun, 22 Mar 2015 11:24:09 +0000 (20:24 +0900)]
Add a dummy byte to an empty ID3v2 frame to stick to the ID3v2 spec.
Michael Helmling [Fri, 20 Mar 2015 09:28:20 +0000 (10:28 +0100)]
Merge pull request #511 from TsudaKageyu/tag-prop
Fix a bug that Tag::setProperties() clears the date instead of the track number
Tsuda Kageyu [Fri, 20 Mar 2015 04:33:13 +0000 (13:33 +0900)]
Fix a bug that Tag::setProperties() clears the date instead of the track number.
Stephen F. Booth [Wed, 18 Feb 2015 13:15:50 +0000 (08:15 -0500)]
Merge pull request #479 from TsudaKageyu/fuzzed-mp4
Fix an infinite loop when parsing MP4 files.
Tsuda Kageyu [Thu, 25 Dec 2014 00:32:56 +0000 (09:32 +0900)]
Fix infinite loops when parsing MP4 files.