Commit Graph

2516 Commits

Author SHA1 Message Date
1848b3bc6f Merge pull request #759 from ufleisch/mp4_classical
Support new classical music frames introduced with iTunes 12.5, #758.
2016-11-08 21:12:31 +09:00
aae23f3c07 Initialize all the data members of ID3v2::ChapterFrame. 2016-11-07 14:12:38 +09:00
da9df1b2a8 Values of FILE_* macros are guaranteed in Win32. 2016-11-07 00:42:12 +09:00
13223ad497 Merge branch 'master' into merge-master-to-taglib2
# Conflicts:
#	taglib/mp4/mp4atom.cpp
#	taglib/toolkit/tlist.tcc
#	taglib/toolkit/tmap.tcc
#	tests/test_asf.cpp
#	tests/test_ogg.cpp
#	tests/test_oggflac.cpp
#	tests/test_opus.cpp
#	tests/test_speex.cpp
2016-11-04 17:18:59 +09:00
70334edd19 Add List::swap() and Map::swap(). 2016-11-04 16:43:14 +09:00
5c8cb9b86b Small fix in a comment. 2016-11-03 09:52:20 +09:00
f5ca097379 Proper handling of MP4 atoms with zero length.
If the size of an atom is 0, it designates the last atom which extends to the end of the file.
2016-11-02 15:44:50 +09:00
eb6d058ab9 Remove a useless branch.
longLength <= LONG_MAX is always true if sizeof(long) == sizeof(long long).
2016-11-01 16:03:15 +09:00
3a6f0d46aa Use a smart pointer in TagLib::Picture. 2016-11-01 11:47:37 +09:00
ef6d76889b Add a missing copyright header. 2016-11-01 11:13:44 +09:00
e6a69e24bc Add a common function to generate a long string to test. 2016-10-31 20:01:52 +09:00
dcab8ed90e Allow ScopedFileCopy to be const. 2016-10-31 10:29:13 +09:00
28470221c0 Suppress MSVC warnings about narrowing conversions. 2016-10-31 01:03:33 +09:00
f355110d18 Merge branch 'master' into merge-master-to-taglib2
# Conflicts:
#	taglib/toolkit/tbytevector.cpp
#	taglib/toolkit/tfilestream.cpp
#	taglib/toolkit/tiostream.cpp
#	taglib/toolkit/tstring.cpp
2016-10-31 00:37:20 +09:00
f5ce498182 Suppress MSVC warnings about narrowing conversions. 2016-10-30 23:51:35 +09:00
ee7fa78011 Update NEWS. 2016-10-30 22:51:15 +09:00
873c917081 Assume that SetFilePointerEx() and GetFileSizeEx() are always available.
This drops support for Windows 9x and NT 4.0 or older.
2016-10-30 22:36:18 +09:00
d3bd8fb7ff Assume that CreateFileW() is always available.
This drops support for Windows 9x.
2016-10-30 22:25:34 +09:00
921a68ae55 Fix mismatched types in tests. 2016-10-30 21:29:06 +09:00
d9df59306f Merge branch 'master' into merge-master-to-taglib2
# Conflicts:
#	AUTHORS
#	ConfigureChecks.cmake
#	taglib/asf/asfutils.h
#	taglib/mp4/mp4atom.cpp
#	taglib/mp4/mp4tag.h
#	taglib/mpeg/id3v2/frames/ownershipframe.cpp
#	taglib/mpeg/id3v2/frames/synchronizedlyricsframe.cpp
#	taglib/mpeg/id3v2/frames/tableofcontentsframe.cpp
#	taglib/mpeg/id3v2/id3v2frame.cpp
#	taglib/riff/rifffile.cpp
#	taglib/riff/rifffile.h
#	taglib/toolkit/taglib.h
#	taglib/toolkit/tbytevector.cpp
#	taglib/toolkit/tfilestream.cpp
#	taglib/toolkit/tstring.cpp
#	taglib/toolkit/tutils.h
#	taglib/xm/xmfile.cpp
#	tests/test_bytevector.cpp
#	tests/test_fileref.cpp
#	tests/test_id3v2.cpp
#	tests/test_riff.cpp
#	tests/test_string.cpp
2016-10-30 21:20:23 +09:00
005441faaa Prevent overflows, just in case. 2016-10-28 15:25:50 +09:00
935534aa53 Backport a test from taglib2 branch. 2016-10-28 15:19:35 +09:00
fea7e3d4a2 Suppress an MSVC warning about 32bit and 64bit shift. 2016-10-28 14:46:48 +09:00
b6d21ce890 Remove redundant if blocks from RIFF::File. 2016-10-28 14:42:32 +09:00
65a24bbc51 Remove some useless seek()/tell() from RIFF::File. 2016-10-28 14:22:50 +09:00
711b35cc6e Encourage compilers to optimize out debug() and debugData().
It's sort of like a throwback, but I found that debug(const String &s) {} doesn't prevent a String from being constructed and the error messages from being embedded.
2016-10-28 11:19:51 +09:00
d53ca6f736 Update NEWS. 2016-10-27 15:40:14 +09:00
aa5f9bb221 Suppress some warnings in test. 2016-10-27 15:23:24 +09:00
d2b3547254 Add a test for File::truncate(). 2016-10-27 15:15:22 +09:00
06ca9a099d Check if file size <= LONG_MAX. 2016-10-27 15:10:34 +09:00
8d873e4e3e Merge pull request #761 from albertofustinoni/master
WinRT compatibility
2016-10-24 22:06:35 +09:00
b2fa124451 formatting 2016-10-24 21:24:53 +09:00
ff5b2dc96f Whitespace 2016-10-24 21:22:57 +09:00
757f5ebc96 Refactoring 2016-10-24 21:19:31 +09:00
e36a9cabb9 Update NEWS. v1.11.1 2016-10-24 12:03:23 +09:00
606f6c0e74 Better define guards 2016-10-23 23:25:16 +09:00
1cc047c953 Styling 2016-10-23 20:17:49 +09:00
cae4f1b804 Merge branch 'master' of https://github.com/albertofustinoni/taglib.git 2016-10-23 20:13:26 +09:00
deffe83fd0 Use newer file system calls when in Windows 8+ to allow compilation as WinRT asembly 2016-10-23 12:32:16 +09:00
597dcde72a Update the version to v1.11.1. 2016-10-22 02:45:52 +09:00
6a96a6426a Replace a possibly non-free file in the test suite. 2016-10-22 02:11:16 +09:00
69c65284a5 Update NEWS. 2016-10-22 01:06:57 +09:00
97aaa0f979 Restore the ABI breakage by bringing back a removed private static variable. 2016-10-19 15:57:28 +09:00
1b64bb0cb7 Support new classical music frames introduced with iTunes 12.5, #758.
M4A:
    ©wrk: Work (string)
    ©mvn: Movement Name (string)
    ©mvi: Movement Number (number)
    ©mvc: Movement Count (number)
    shwm: Show Work & Movement (0/1)

ID3 (2.3, 2.4; MVN, MVI for 2.2):
    MVNM: Movement Name
    MVIN: Movement Number/Count
2016-10-18 20:45:54 +02:00
0dac721ce2 Update NEWS. 2016-09-26 17:48:44 +09:00
bbeeca6fdb Merge pull request #754 from hyperquantum/master
Fix defect in ByteVectorStream::seek when Position==End.
2016-09-15 21:11:08 -04:00
7e90313690 Fix defect in ByteVectorStream::seek when Position==End. 2016-09-15 16:30:16 +02:00
51b85abc0b foo 2016-09-14 19:55:55 +03:00
9452970528 No reason to include std::string here 2016-09-14 19:54:16 +03:00
53ac43b5f6 This should be using operator| not operator||
This is bitwise, not logical.
2016-09-14 19:53:46 +03:00