Tsuda Kageyu
15775d4135
Merge branch 'master' into taglib2
2015-11-22 16:25:34 +09:00
Tsuda Kageyu
559c6b28c9
Merge pull request #681 from TsudaKageyu/xiph-remove-fields
...
Add alternative methods to XiphComment::removeField() that may cause …
2015-11-22 16:19:15 +09:00
Tsuda Kageyu
6566352728
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# taglib/ape/apefile.cpp
# taglib/ape/apefile.h
# taglib/fileref.cpp
# taglib/flac/flacfile.cpp
# taglib/flac/flacfile.h
# taglib/mpc/mpcfile.cpp
# taglib/mpc/mpcfile.h
# taglib/mpeg/id3v2/frames/synchronizedlyricsframe.cpp
# taglib/mpeg/id3v2/id3v2frame.cpp
# taglib/tagunion.cpp
# taglib/toolkit/tiostream.cpp
# taglib/trueaudio/trueaudiofile.cpp
# taglib/trueaudio/trueaudiofile.h
# taglib/wavpack/wavpackfile.cpp
# taglib/wavpack/wavpackfile.h
# tests/test_fileref.cpp
# tests/test_id3v2.cpp
2015-11-21 20:22:07 +09:00
Tsuda Kageyu
f34d73d319
Make FileRef::FileTypeResolver work properly.
2015-11-21 18:29:41 +09:00
Tsuda Kageyu
c3807e59cd
Merge pull request #528 from chouquette/master
...
FileRef: Allow an IOStream to be used
2015-11-21 09:51:03 +09:00
Tsuda Kageyu
84e3582332
Add alternative methods to XiphComment::removeField().
...
Using XiphComment::removeField() may lead to a linkage error, however we can't fix the method itself without breaking the ABI or changing its behavior.
So we added some alternative method and marked the old one deprecated.
2015-11-20 23:28:32 +09:00
Tsuda Kageyu
94c941928a
Merge pull request #654 from TsudaKageyu/xiph-setcomment
...
Fix XiphComment::setComment() for the case that a Vorbis comment has …
2015-11-20 23:02:51 +09:00
Tsuda Kageyu
8c6fe45453
Avoid using String::null where an empty string is required.
...
String::null is not necessarily be empty or remains the same instance.
Using it in a public header may lead to a linkage error.
2015-11-20 22:21:47 +09:00
Tsuda Kageyu
1d0552cab1
Change String::npos from a variable to a function.
...
We can't export a static member function. It may lead to a linkage error.
2015-11-20 16:46:02 +09:00
Tsuda Kageyu
47cb23d738
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# taglib/ape/apefile.cpp
# taglib/asf/asffile.cpp
# taglib/asf/asftag.cpp
# taglib/flac/flacfile.cpp
# taglib/mp4/mp4tag.cpp
# taglib/mpc/mpcfile.cpp
# taglib/mpeg/mpegfile.cpp
# taglib/mpeg/mpegfile.h
# taglib/riff/wav/wavfile.cpp
# taglib/tagunion.cpp
# taglib/tagunion.h
# taglib/trueaudio/trueaudiofile.cpp
# taglib/wavpack/wavpackfile.cpp
2015-11-20 15:17:39 +09:00
Tsuda Kageyu
29b0568dec
Revert "Add a test about handing "COMMENT" and "DESCIPRION" fields in XiphComment."
...
This reverts commit 8f147034d6af7a4c2830b3113d4b257c1836fabe.
2015-11-20 14:18:40 +09:00
Tsuda Kageyu
6dc8d701a8
Avoid writing duplicate tags when saving ASF files.
...
Reduce memory reallocations and copies when saving ASF files.
2015-11-20 13:48:25 +09:00
Tsuda Kageyu
6d5654028a
Merge pull request #642 from TsudaKageyu/strip-and-properties
...
Fix segfaults when calling File::properties() after strip().
2015-11-20 13:24:01 +09:00
Tsuda Kageyu
e1e1b6c60c
Merge pull request #623 from TsudaKageyu/erase-duplicate-id3v2
...
Skip duplicate ID3v2 tags and treat them as an extra blank of the first one.
2015-11-20 10:49:11 +09:00
Tsuda Kageyu
1cc3e4cc57
Consistent rounding when calculating the MP4 audio length.
2015-11-19 18:24:20 +09:00
Tsuda Kageyu
a3564d8c68
Efficient lookup for the MP4/ASF field name and ID3v1 genre tables.
...
Linear lookup is much faster and memory efficient when an array is very small.
2015-11-19 16:35:55 +09:00
Tsuda Kageyu
5da35f5a51
Rename RIFF::Info::FieldListMap to FieldMap.
...
It doesn't contain string lists.
2015-11-19 13:47:41 +09:00
Tsuda Kageyu
176e133f32
Change ByteVector::npos from a variable to a function.
...
We can't export a static member function. It may lead to a likage error.
2015-11-19 13:13:15 +09:00
Tsuda Kageyu
722f317f97
Remove ByteVector::null and isNull().
2015-11-19 11:57:30 +09:00
Tsuda Kageyu
c2753f8d3c
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# ConfigureChecks.cmake
# bindings/c/tag_c.cpp
# taglib-config.cmd.cmake
# taglib/asf/asfattribute.cpp
# taglib/asf/asffile.cpp
# taglib/audioproperties.cpp
# taglib/mp4/mp4atom.h
# taglib/mp4/mp4coverart.cpp
# taglib/mp4/mp4file.cpp
# taglib/mp4/mp4item.cpp
# taglib/mp4/mp4tag.cpp
# taglib/mpeg/id3v2/id3v2frame.cpp
# taglib/mpeg/id3v2/id3v2tag.cpp
# taglib/toolkit/tbytevector.cpp
# taglib/toolkit/tbytevector.h
# taglib/toolkit/tfile.cpp
# taglib/toolkit/tfile.h
# taglib/toolkit/tlist.h
# taglib/toolkit/tstring.cpp
# taglib/toolkit/tstring.h
# tests/test_apetag.cpp
2015-11-19 11:37:18 +09:00
Tsuda Kageyu
539d951277
Avoid using ByteVector::null where an empty vector is required.
...
ByteVector::null is not necessarily be empty or remains the same instance.
Using it in a public header may lead to a linkage error.
2015-11-19 10:52:46 +09:00
Tsuda Kageyu
7e85d9b202
Simplify overly complicated ByteVector::mid() implementation.
...
Especially remove the useless nested RefCounters.
2015-11-19 09:23:19 +09:00
Tsuda Kageyu
8203ccf04c
Merge pull request #608 from TsudaKageyu/mp4-has-tags
...
Add a method to check if an MP4 file on disk actually has a tag.
2015-11-18 17:14:26 +09:00
Tsuda Kageyu
b01fecd280
Separate some tests for MP4::File::hasMP4Tag().
2015-11-18 14:25:22 +09:00
Tsuda Kageyu
76de4234a1
Add a test for the CRC checksum of Ogg pages.
2015-11-17 15:05:43 +09:00
Tsuda Kageyu
4bac99e3da
Add some notes about ByteVector::isNull() and ByteVector::null.
2015-11-17 13:06:03 +09:00
Tsuda Kageyu
1a942627bf
Add String::clear() method to clear the string.
2015-11-17 11:29:52 +09:00
Tsuda Kageyu
11fbf394a3
Skip duplicate ID3v2 tags and treat them as an extra blank of the first one.
...
This enables all the file formats to handle duplicate ID3v2 tags properly and erase them automatically.
2015-11-13 11:55:56 +09:00
Tsuda Kageyu
762581fe3f
Add a method to check if an MP4 file on disk actually has a tag.
2015-11-13 11:14:12 +09:00
Tsuda Kageyu
8f147034d6
Add a test about handing "COMMENT" and "DESCIPRION" fields in XiphComment.
2015-11-13 11:07:50 +09:00
Tsuda Kageyu
b3cea6cca7
Fix XiphComment::setComment() for the case that a Vorbis comment has the "COMMENT" field.
2015-11-12 17:16:47 +09:00
Erwin Jansen
29be00dc59
Fixes access violation
...
- Fixes access violation when setting empty stringlist on integer
properties in mp4 tag
- Add a unit test that validates the fix.
2015-10-09 22:11:27 -07:00
Hugo Beauzée-Luyssen
e750cb491d
FileRef: Allow an IOStream to be used
2015-09-15 15:01:40 +02:00
Tsuda Kageyu
c7231c58a3
Improve a test about handling duplicate tags in WAV files.
2015-08-25 11:03:00 +09:00
Tsuda Kageyu
c5cf9b93bc
Fix segfaults when calling File::properties() after strip().
...
Backport TagUnion::properties() and TagUnion::removeUnsupportedProperties() from taglib2.
2015-08-25 11:03:00 +09:00
Tsuda Kageyu
9b8f774fb3
Merge branch 'master' into merge-master-to-taglib2
...
Conflicts:
taglib/ape/apetag.cpp
taglib/ape/apetag.h
taglib/mpeg/id3v2/frames/chapterframe.cpp
taglib/riff/wav/infotag.h
2015-08-25 02:41:49 +09:00
Tsuda Kageyu
dc0cc4e7fa
Implement 'Length in milliseconds' feature of DSF/EBML.
2015-08-10 01:35:57 +09:00
Tsuda Kageyu
e6e11c957d
Merge branch 'master' into taglib2
...
Conflicts:
CMakeLists.txt
ConfigureChecks.cmake
config.h.cmake
taglib/CMakeLists.txt
taglib/ape/apefile.cpp
taglib/ape/apefile.h
taglib/ape/apeproperties.cpp
taglib/ape/apeproperties.h
taglib/ape/apetag.cpp
taglib/asf/asfattribute.cpp
taglib/asf/asffile.cpp
taglib/asf/asffile.h
taglib/asf/asfpicture.cpp
taglib/asf/asfpicture.h
taglib/asf/asfproperties.cpp
taglib/asf/asfproperties.h
taglib/audioproperties.cpp
taglib/flac/flacfile.cpp
taglib/flac/flacfile.h
taglib/flac/flacproperties.cpp
taglib/flac/flacproperties.h
taglib/it/itproperties.cpp
taglib/mod/modproperties.cpp
taglib/mp4/mp4atom.cpp
taglib/mp4/mp4file.cpp
taglib/mp4/mp4file.h
taglib/mp4/mp4properties.cpp
taglib/mp4/mp4tag.cpp
taglib/mp4/mp4tag.h
taglib/mpc/mpcfile.cpp
taglib/mpc/mpcfile.h
taglib/mpc/mpcproperties.cpp
taglib/mpc/mpcproperties.h
taglib/mpeg/id3v2/frames/chapterframe.cpp
taglib/mpeg/id3v2/frames/synchronizedlyricsframe.cpp
taglib/mpeg/id3v2/frames/tableofcontentsframe.cpp
taglib/mpeg/mpegfile.cpp
taglib/mpeg/mpegfile.h
taglib/mpeg/mpegheader.cpp
taglib/mpeg/mpegproperties.cpp
taglib/mpeg/mpegproperties.h
taglib/mpeg/xingheader.cpp
taglib/mpeg/xingheader.h
taglib/ogg/opus/opusfile.cpp
taglib/ogg/opus/opusfile.h
taglib/ogg/opus/opusproperties.cpp
taglib/ogg/opus/opusproperties.h
taglib/ogg/speex/speexfile.cpp
taglib/ogg/speex/speexfile.h
taglib/ogg/speex/speexproperties.cpp
taglib/ogg/speex/speexproperties.h
taglib/ogg/vorbis/vorbisfile.cpp
taglib/ogg/vorbis/vorbisfile.h
taglib/ogg/vorbis/vorbisproperties.cpp
taglib/ogg/vorbis/vorbisproperties.h
taglib/riff/aiff/aifffile.cpp
taglib/riff/aiff/aifffile.h
taglib/riff/aiff/aiffproperties.cpp
taglib/riff/aiff/aiffproperties.h
taglib/riff/wav/infotag.h
taglib/riff/wav/wavfile.cpp
taglib/riff/wav/wavfile.h
taglib/riff/wav/wavproperties.cpp
taglib/riff/wav/wavproperties.h
taglib/s3m/s3mproperties.cpp
taglib/taglib_config.h.cmake
taglib/toolkit/tbytevector.cpp
taglib/toolkit/tfile.cpp
taglib/toolkit/tfile.h
taglib/toolkit/tfilestream.cpp
taglib/toolkit/trefcounter.cpp
taglib/toolkit/tstring.cpp
taglib/toolkit/tstring.h
taglib/toolkit/tutils.h
taglib/trueaudio/trueaudiofile.cpp
taglib/trueaudio/trueaudiofile.h
taglib/trueaudio/trueaudioproperties.cpp
taglib/trueaudio/trueaudioproperties.h
taglib/wavpack/wavpackfile.cpp
taglib/wavpack/wavpackfile.h
taglib/wavpack/wavpackproperties.cpp
taglib/wavpack/wavpackproperties.h
taglib/xm/xmproperties.cpp
taglib/xm/xmproperties.h
tests/CMakeLists.txt
tests/data/alaw.wav
tests/test_asf.cpp
tests/test_mp4.cpp
tests/test_ogg.cpp
tests/test_opus.cpp
tests/test_string.cpp
tests/test_wav.cpp
tests/test_wavpack.cpp
2015-08-10 00:40:22 +09:00
Tsuda Kageyu
e4cd963b12
Improve a test about splitting OGG pages.
...
Check for #529 .
2015-08-08 15:18:16 +09:00
Tsuda Kageyu
eff92fed98
Improve a test about splitting OGG pages.
...
Check for #529 .
2015-08-07 16:47:13 +09:00
Tsuda Kageyu
173c58cf49
Merge pull request #580 from TsudaKageyu/negative-seek
...
Fix inconsistent negative seek behavior between Linux and Windows.
2015-08-07 01:32:26 +09:00
Tsuda Kageyu
8fa86162c7
Add a test to check if the FLAC audio stream remains intact after adding an ID3v1 tag.
2015-08-03 15:40:30 +09:00
Tsuda Kageyu
f830177b3b
Correct the order of #includes in tests.
2015-08-03 11:41:55 +09:00
Tsuda Kageyu
c0f537a155
Merge pull request #581 from FestusHagen/fh2.m_FixUintAmbiguitiesInTests
...
Silence uint ambiguity errors in tests.
2015-08-02 02:40:20 +09:00
Tsuda Kageyu
11f4e4e1ca
Merge pull request #567 from TsudaKageyu/audioprop-wv
...
(wishlist) WavPack: AudioProperties improvements
2015-08-01 01:30:19 +09:00
Tsuda Kageyu
9759bd2dd7
Merge pull request #566 from TsudaKageyu/audioprop-tta
...
(wishlist) TrueAudio: AudioProperties improvements
2015-08-01 01:30:12 +09:00
Tsuda Kageyu
b28784538a
Merge pull request #565 from TsudaKageyu/audioprop-wav
...
(wishlist) WAV: AudioProperties improvements
2015-08-01 01:30:03 +09:00
Tsuda Kageyu
fdea096c8d
Merge pull request #564 from TsudaKageyu/audioprop-aiff
...
(wishlist) AIFF: AudioProperties improvements
2015-08-01 01:29:46 +09:00
Tsuda Kageyu
a9d030544a
Merge pull request #563 from TsudaKageyu/audioprop-vorbis
...
(wishlist) Ogg Vorbis: AudioProperties improvements
2015-08-01 01:29:35 +09:00
Tsuda Kageyu
8344c4d7f8
Merge pull request #562 from TsudaKageyu/audioprop-speex
...
(wishlist) Ogg Speex: AudioProperties improvements
2015-08-01 01:29:22 +09:00