Michael Helmling
adf0f76360
Fix Markdown syntax of INSTALL file and rename it to *.md
...
This enables proper formatted display of the file on e.g. GitHub, increasing readability.
2017-06-05 11:09:16 +02:00
Tsuda Kageyu
682ea77c2b
Mention that FileRef::create no longer works.
2017-05-31 09:41:41 +09:00
Tsuda Kageyu
15c3c756ca
Update NEWS.
2017-05-31 09:28:30 +09:00
Tsuda Kageyu
4801fbb927
Merge pull request #818 from LindyBalboa/add_rate_atom_support
...
Add direct support for "rate" atom
2017-05-31 09:20:27 +09:00
Tsuda Kageyu
22de22b701
Fix memory leaks in a test.
2017-05-26 16:49:36 +09:00
Tsuda Kageyu
48a1a05a88
Fix MSVC warnings about unreferenced variables.
2017-05-23 17:46:16 +09:00
Tsuda Kageyu
6000a19f70
Fix the Travis-CI testing on OS X.
...
AppleClang 7.3 doesn't get along with CppUnit by default.
2017-05-23 17:33:22 +09:00
Conner R. Phillips
ff28cf276c
Add direct support for "rate" atom
...
Resolves #817
2017-04-22 07:45:29 +02:00
Tsuda Kageyu
4891ee729d
Remove an useless UTF-8 BOM.
2017-02-24 15:47:30 +09:00
Tsuda Kageyu
9419dab51b
Allow SYLT frames to have a timestamp with no text.
...
Thanks to lemonboy999.
2017-02-24 15:40:30 +09:00
Tsuda Kageyu
bd4a45b07e
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# ConfigureChecks.cmake
# taglib/CMakeLists.txt
# taglib/asf/asfattribute.cpp
# taglib/it/itproperties.cpp
# taglib/mod/modproperties.cpp
# taglib/mpeg/mpegfile.cpp
# taglib/mpeg/mpegproperties.cpp
# taglib/ogg/flac/oggflacfile.cpp
# taglib/s3m/s3mproperties.cpp
# taglib/tagunion.cpp
# taglib/toolkit/tfile.cpp
# taglib/toolkit/trefcounter.h
# taglib/toolkit/tstring.cpp
# taglib/xm/xmproperties.cpp
# tests/test_mpeg.cpp
2017-02-21 10:22:20 +09:00
Tsuda Kageyu
45ee18e206
FilePrivate is responsible to delete a stream pointer instead of File.
...
Generally, TagLib leaves the Private classes to delete their members.
2017-02-08 17:49:48 +09:00
Tsuda Kageyu
bf7ee62dc6
Merge branch 'filetype-detection' of https://github.com/TsudaKageyu/taglib into filetype-detection
2017-02-07 22:37:13 +09:00
Tsuda Kageyu
f76b1e5429
Rename the functions 'isValidStream' to 'isSupported'.
...
The name 'isValidStream' is a little misleading because it doesn't check if the stream is really valid. Additionally, 'isSupported' can be naturally overloaded.
2017-02-07 22:36:56 +09:00
Tsuda Kageyu
f7b15fad20
Remove some redundant code.
2017-02-06 10:35:49 +09:00
Tsuda Kageyu
dd4adf94ce
Fix wrong endian of boolean values when saving ASF files.
2017-02-06 10:06:10 +09:00
Tsuda Kageyu
d4d8410c08
Restore the layout of the copyright header of test_fileref.cpp.
2017-02-04 23:45:15 +09:00
Tsuda Kageyu
931bb042c3
Enable FileRef to detect file types by the actual content of a stream.
...
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.
2017-02-04 23:31:08 +09:00
Tsuda Kageyu
a5d9e49c49
Remove obsolete comments.
...
The bug mentioned in the comments are already fixed.
2017-02-04 01:31:20 +09:00
Scott Wheeler
179c175a6c
Ignore warnings about OSAtomicIncrement32Barrier
...
The warnings suggest moving to std::atomic functions, but those are only
available in C++11. It would be possible to switch to the C versions of
those functions, which are now provided in stdatoic.h (in C11), but
let's wait until we actually hit problems with this function and are a
few more OS versions into C11 headers being included by default.
2017-02-03 13:56:02 +00:00
Tsuda Kageyu
ba98628919
Avoid searching the same area twice in MPEG::File::previousFrameOffset().
2017-02-01 14:23:03 +09:00
Tsuda Kageyu
87fc4012f4
Add some test cases for invalid UTF-8 sequences.
2017-01-31 14:27:23 +09:00
Tsuda Kageyu
dd5ab2a08f
Fix and add some test cases for invalid surrogate pairs.
2017-01-31 14:19:30 +09:00
Tsuda Kageyu
b74ffba4b5
Update NEWS.
2017-01-31 00:21:41 +09:00
Tsuda Kageyu
4552f2c2eb
Remove redundant functions in tstring.cpp.
...
Two versions of copyFromUTF16() are almost the same.
2017-01-30 22:38:08 +09:00
Tsuda Kageyu
6398796f95
Remove function bodies of some non-specialized template functions.
...
The code won't link when a wrong version is used. It's better than showing a debug message.
2017-01-30 16:11:59 +09:00
Tsuda Kageyu
2c7ac6d6a9
Add a few more test cases for invalid UTF-8 sequences.
2017-01-30 12:56:53 +09:00
Tsuda Kageyu
6a61f02f85
Merge pull request #794 from TsudaKageyu/utf8-library
...
Replace unicode.h/unicode.cpp by the UTF8-CPP library.
2017-01-30 12:54:43 +09:00
Tsuda Kageyu
038b52ae01
Check an invalid UTF-8 sequence consists of single char.
...
Single char can be an invalid UTF sequence. For example, { 0x80 } is invalid.
2017-01-30 11:35:39 +09:00
Tsuda Kageyu
598ab752bc
Stop assuming that std::wstring has a contiguous and null-terminated buffer.
2017-01-30 00:36:38 +09:00
Tsuda Kageyu
4328f934c8
Merge pull request #781 from claudiuslollarius/taglib2
...
Fixed incorrect handling of MP4 tags when using wstrings
2017-01-28 22:04:25 +09:00
Tsuda Kageyu
922fd611ae
Reduce useless memory reallocation in String::upper().
2017-01-28 01:17:21 +09:00
Tsuda Kageyu
3d14ff74b1
Remove a duplicate test file.
2017-01-27 22:10:02 +09:00
Tsuda Kageyu
978b822774
Remove some redundant code in tstring.cpp.
2017-01-27 15:11:08 +09:00
Tsuda Kageyu
0c45c63943
Replace unicode.h/unicode.cpp by the UTF8-CPP library.
...
unicode.h/unicode.cpp are no longer maintained and incompatible with Debian's guideline.
UTF8-CPP is maintained on GitHub and published under the Boost Software License which is compatible with either LGPL or MPL and should go along with Debian's guideline.
2017-01-27 14:47:55 +09:00
Tsuda Kageyu
586c9bd962
Add a test for unpaired surrogate characters in a UTF-16 string.
2017-01-26 17:33:54 +09:00
Tsuda Kageyu
fc38a0e401
Remove some redundant code.
...
TagUnion::access() does the same thing as FLAC::File::ID3v2Tag().
2017-01-22 00:43:32 +09:00
Tsuda Kageyu
5fc5a2e81a
Prefer isEmpty()/empty() to size() == 0.
2017-01-21 19:10:32 +09:00
Tsuda Kageyu
a358e87cc4
Revert useless changes accidentally committed.
2017-01-21 11:13:49 +09:00
Tsuda Kageyu
5ba8b740f9
Add missing consts.
2017-01-21 11:09:05 +09:00
Tsuda Kageyu
c4a3c3ab97
Combine two internal functions which are always used together.
2017-01-21 01:34:50 +09:00
Tsuda Kageyu
6bb92c34fa
Ignore fake MPEG frame headers when seeking them.
2017-01-20 22:38:25 +09:00
Tsuda Kageyu
d2e0e55223
Efficient lookup for an ID3v2 tag in MPEG files with garbage.
...
This looks for an ID3v2 tag until reaching the first valid MPEG frame in O(n) time.
2017-01-20 21:14:38 +09:00
Tsuda Kageyu
d64c833359
Update NEWS.
2017-01-16 01:14:35 +09:00
Tsuda Kageyu
c9c757e0ff
Merge pull request #791 from TsudaKageyu/flac-empty-seektable
...
Be tolerant of empty FLAC seektable blocks.
2017-01-16 01:12:07 +09:00
Tsuda Kageyu
9b548260f5
Initialize d-pointers in class member initializer list.
2017-01-16 01:05:30 +09:00
Tsuda Kageyu
406e872ac3
Always use parentheses with new. It's a bit safer.
2017-01-16 01:00:28 +09:00
Tsuda Kageyu
193cbe3b6b
Initialize all the data members of ASF::Attribute.
2017-01-14 23:29:46 +09:00
Tsuda Kageyu
13be28a52c
Be tolerant of empty FLAC seektable blocks.
2017-01-10 00:11:13 +09:00
Tsuda Kageyu
56a7656c2e
Remove some TODO comments which are no longer necessary.
2017-01-08 01:43:04 +09:00