Lukáš Lalinský
aa61823432
Fix the length of the TXXX translation mapping ( closes #283 )
2013-10-08 17:50:01 +02:00
Lukáš Lalinský
2f7af42092
Update version to 1.9.1
2013-10-08 17:46:34 +02:00
Lukáš Lalinský
2d5abd46d2
Added TagLib::MP4::PropertyMap::codec()
2013-10-08 17:41:09 +02:00
Lukáš Lalinský
9b5869ea37
Merge remote-tracking branch 'TsudaKageyu/chunksize'
2013-10-08 16:18:43 +02:00
Lukáš Lalinský
02ebd0bcbe
Change log for 1.9.1
2013-10-08 16:18:30 +02:00
Lukáš Lalinský
5693ab0403
Merge remote-tracking branch 'TsudaKageyu/fix-string'
2013-10-08 16:12:49 +02:00
Lukáš Lalinský
27000438f5
Merge remote-tracking branch 'TsudaKageyu/msvc_wchar_t'
2013-10-08 16:09:01 +02:00
Lukáš Lalinský
a6f759cc9a
These shouldn't be executable either
2013-10-08 16:06:58 +02:00
Lukáš Lalinský
a175b8356b
Reintroduce the old RefCounter from 1.8, which is needed by TagLib::Map<> and TagLib::List<> ( closes #296 )
2013-10-08 16:06:03 +02:00
Tsuda Kageyu
873df184fe
Workaround for when MSVC doesn't have wchar_t as a built-in type
2013-10-08 19:55:44 +09:00
Tsuda Kageyu
079e3e0b87
Fixed detecting RIFF files with invalid chunk sizes
2013-10-07 17:04:55 +09:00
Lukáš Lalinský
95776b5905
These files should not be marked as executable
2013-10-06 17:11:01 +02:00
Lukáš Lalinský
dcfb71bcb4
Update version number to 1.9
2013-10-05 10:53:15 +02:00
Lukáš Lalinský
f2c9ed4f36
Update NEWS
2013-10-05 10:09:09 +02:00
Lukáš Lalinský
2407933087
Merge remote-tracking branch 'TsudaKageyu/wavpack-samplerate'
2013-10-05 09:53:49 +02:00
Stephen F. Booth
2af43ec8bf
Merge pull request #290 from FestusHagen/m_WinInstallNotes
...
Update Windows INSTALL notes.
2013-10-01 19:51:11 -07:00
Festus Hagen
85d76a2428
Update Windows INSTALL notes.
2013-09-30 18:06:55 -04:00
Stephen F. Booth
5a4a05d9bc
Merge pull request #280 from TsudaKageyu/info-fieldlist
...
Added a missing fieldListmap() method to RIFF::Info::Tag
2013-09-28 18:07:26 -07:00
Stephen F. Booth
a2188e6cf9
Merge pull request #285 from TsudaKageyu/algorithm
...
Added missing #include <algorithm> for std::min() and std::max()
2013-09-20 04:59:27 -07:00
Tsuda Kageyu
e6f9a06894
Added missing #include <algorithm> for std::min() and std::max()
2013-09-20 08:26:37 +09:00
Tsuda Kageyu
e125bcb78b
Fixed a possible out-of-bound access when reading WavPack files
2013-09-19 04:09:28 +09:00
Tsuda Kageyu
23b418b4e9
Added a missing fieldListmap() method to RIFF::Info::Tag
2013-09-17 14:59:19 +09:00
Tsuda Kageyu
cf892f2cb8
Fixed a bug in creating String from ByteVector
2013-09-13 03:47:03 +09:00
Lukáš Lalinský
c12b6697f9
Merge remote-tracking branch 'TsudaKageyu/byteorder-detection'
2013-07-21 14:42:50 +02:00
Tsuda Kageyu
89fcab5669
Fixed an MSVC specific runtime error only in debug mode
2013-07-17 23:35:41 +09:00
Tsuda Kageyu
35ca010df6
Introduced the runtime byte order detection when config.h is missing
2013-07-17 15:02:02 +09:00
Tsuda Kageyu
0f58646bfb
Added a test for APE::Item
2013-07-14 11:35:10 +09:00
Tsuda Kageyu
4d126c49e9
Fixed a crash of APE::Item::toString() when the data type is binary
2013-07-14 02:47:48 +09:00
Lukáš Lalinský
3a636c752b
Merge remote-tracking branch 'TsudaKageyu/string-api-master'
2013-07-11 10:08:05 +02:00
Lukáš Lalinský
ff5ab030c5
Merge remote-tracking branch 'TsudaKageyu/fix-opus'
2013-07-11 10:06:35 +02:00
Lukáš Lalinský
ff3b1466e1
Merge remote-tracking branch 'TsudaKageyu/comment-update'
2013-07-11 10:05:29 +02:00
Lukáš Lalinský
89cb785f22
Merge remote-tracking branch 'TsudaKageyu/has-tags'
2013-07-11 10:03:28 +02:00
Tsuda Kageyu
30f62ba887
Updated the relevant comments
2013-07-04 22:14:42 +09:00
Tsuda Kageyu
1503909824
Added the methods to check which kind of tags the file actually has.
2013-07-04 18:11:33 +09:00
Tsuda Kageyu
75b685fa53
Updated the related comments
2013-06-24 01:29:33 +09:00
Tsuda Kageyu
62d55223b2
Added conversion from String to const wchar_t*
2013-06-24 01:13:25 +09:00
Tsuda Kageyu
418a6c79cb
Comment update: Added some supplementary explanations and fixed some spellings.
2013-06-23 02:08:10 +09:00
Tsuda Kageyu
ab417fd9e3
Changed the style to follow TagLib's one
2013-06-22 18:06:40 +09:00
Tsuda Kageyu
35cdcd3b95
Added a missing check if an Opus file is open
2013-06-22 16:12:57 +09:00
Tsuda Kageyu
a845f70c49
Added some test cases for FileRef about unsupported files
2013-06-21 15:29:00 +09:00
Lukáš Lalinský
7e866e11ad
Merge remote-tracking branch 'FestusHagen/sw_initorder'
2013-06-21 08:01:50 +02:00
Festus Hagen
6acbcfc68a
Fix file modes 2.
2013-06-20 18:50:14 -04:00
Festus Hagen
02c81aaac2
Fix file modes.
2013-06-20 18:37:06 -04:00
Festus Hagen
550510ff3f
Silence Initialization Order Warnings 2.
2013-06-20 16:40:05 -04:00
Lukáš Lalinský
5051010835
Move byteSwap to a (private) shared include file, rather than having the same code in tstring.cpp and tbytevector.cpp
2013-06-20 15:22:06 +02:00
Lukáš Lalinský
fdb8a6b065
Reintroduce HAVE_CONFIG_H so that TagLib can be built without CMake
2013-06-20 15:07:25 +02:00
Lukáš Lalinský
6d4299ea94
Merge remote-tracking branch 'TsudaKageyu/debug-msg3'
2013-06-20 13:40:26 +02:00
Tsuda Kageyu
b84b3afc9c
Making use of std::bitset::to_string()
2013-06-15 13:21:07 +09:00
Festus Hagen
451616f99a
Silence Initialization Order Warnings.
2013-06-11 17:20:46 -04:00
Tsuda Kageyu
496b58e0c9
Updated the comment for DebugListener class
2013-06-11 19:23:46 +09:00
Tsuda Kageyu
886236b978
Removed getDebugListener()
2013-06-10 16:29:33 +09:00
Tsuda Kageyu
6d2e0e8050
Moved a macro from taglib_config.h to config.h
2013-06-10 01:19:47 +09:00
Tsuda Kageyu
2f29ed003c
Added a CMake option that allows to show debug messages in release mode
2013-06-09 23:52:05 +09:00
Tsuda Kageyu
12953b3fdc
Removed TAGLIB_EXPORT from getDebugListener
2013-06-08 22:26:13 +09:00
Tsuda Kageyu
448648d61b
Simplified DebugListener class
2013-06-08 21:40:30 +09:00
Lukáš Lalinský
241465eaac
Merge branch 'revert-changes' of https://github.com/TsudaKageyu/taglib
2013-06-08 12:58:53 +02:00
Tsuda Kageyu
dce00b96b8
Revert "Fixed some MSVC specific warnings"
...
This reverts commit 93f304a91d .
2013-06-08 13:14:06 +09:00
Tsuda Kageyu
3b2d620671
Enabled users to define custom debug message listeners
2013-06-08 09:59:36 +09:00
Tsuda Kageyu
e18546560e
Enabled users to define custom debug message listeners
2013-06-08 03:05:50 +09:00
naiar
fc9abc7a33
fixed build failure
2013-06-07 20:00:13 +09:00
Tsuda Kageyu
98d010f460
Merge pull request #232 from TsudaKageyu/remove-shlwapi
...
Removed the dependency on shlwapi.dll in Win32
2013-06-05 21:59:11 -07:00
Tsuda Kageyu
36d7f9ba32
Removed the dependency on shlwapi.dll in Win32
2013-06-06 13:45:23 +09:00
Tsuda Kageyu
c4c5b06643
Merge pull request #231 from TsudaKageyu/containsat
...
Fixed behavior change of ByteVector::containsAt()
2013-06-01 12:03:34 -07:00
Tsuda Kageyu
767a6ec4a2
Added some tests for containsAt()
2013-06-02 04:00:34 +09:00
Tsuda Kageyu
860a605c8d
Fixed behavior change of ByteVector::containsAt()
2013-06-02 03:45:13 +09:00
Tsuda Kageyu
df5bf232eb
Merge pull request #230 from TsudaKageyu/gcc42-3
...
Fixed compilation error with GCC4.2
2013-06-01 10:49:07 -07:00
Tsuda Kageyu
90a4bae6cc
Fixed compilation error with GCC4.2
2013-06-02 02:37:15 +09:00
Tsuda Kageyu
3ae452ee2a
Merge pull request #229 from TsudaKageyu/gcc42-2
...
Fixed compilation error with GCC4.2
2013-06-01 10:11:52 -07:00
Tsuda Kageyu
bc2d3ea72e
Fixed compilation error with GCC4.2
2013-06-02 02:05:11 +09:00
Tsuda Kageyu
9ccc4878d0
Merge pull request #228 from TsudaKageyu/gcc42
...
Fixed compilation error with GCC4.2
2013-06-01 08:05:29 -07:00
Tsuda Kageyu
6365f36c75
Fixed compilation error with GCC4.2
2013-06-01 23:55:52 +09:00
Tsuda Kageyu
da3d9b1c55
Merge pull request #226 from TsudaKageyu/file-comments
...
Fixed comments for File constructors
2013-05-30 22:34:21 -07:00
Tsuda Kageyu
f77a84486e
Fixed comments for File constructors
2013-05-30 02:04:10 +09:00
Tsuda Kageyu
cf9f2a436b
Merge pull request #224 from TsudaKageyu/memoryleak
...
Fixed memory leak of ByteVector
2013-05-27 08:20:38 -07:00
Tsuda Kageyu
e73afa3325
Fixed memory leak of ByteVector
2013-05-28 00:02:09 +09:00
Tsuda Kageyu
dfee045d46
Merge pull request #222 from TsudaKageyu/vc-filename
...
Fixed some MSVC specific warnings
2013-05-26 06:03:49 -07:00
Tsuda Kageyu
93f304a91d
Fixed some MSVC specific warnings
2013-05-26 14:38:36 +09:00
Tsuda Kageyu
ddabffc7ef
Merge pull request #221 from TsudaKageyu/fix-shlwapi
...
Fixed shlwapi.h and shlwapi.lib detection for MSVC
2013-05-25 12:20:57 -07:00
Tsuda Kageyu
42d268c2c9
Fixed shlwapi.h and shlwapi.lib detection for MSVC
2013-05-26 04:17:18 +09:00
Tsuda Kageyu
e7c0f3322d
Merge pull request #220 from FestusHagen/cmake_shlwapi
...
Added FindShlwapi.cmake in lieu of pragma comment() in fileref.h.
2013-05-25 12:04:08 -07:00
Festus Hagen
b3f3eeeec7
Added FindShlwapi.cmake in lieu of pragma comment() in fileref.h.
2013-05-25 01:58:49 -04:00
Tsuda Kageyu
54fbe15611
Merge pull request #219 from joelverhagen/master
...
Windows build fails on master (due to RefCounter not being exported)
2013-05-23 18:44:15 -07:00
Joel Verhagen
d7523d7843
Added TAGLIB_EXPORT to RefCounter for Windows build
2013-05-23 13:42:51 -04:00
Tsuda Kageyu
ca801c5411
Merge pull request #215 from TsudaKageyu/smallfile
...
Fixed bugs on manipulating small files
2013-05-23 02:22:48 -07:00
Tsuda Kageyu
4667ba02e5
Fixed bugs on manipulating small files
2013-05-23 17:45:16 +09:00
Tsuda Kageyu
3151336050
Merge pull request #209 from TsudaKageyu/bytevector
...
Changed behavior of ByteVector::toNumber() when overrun
2013-05-20 13:50:59 -07:00
Tsuda Kageyu
848f8c316e
Changed behavior of ByteVector::toNumber() when overrun
2013-05-21 05:36:01 +09:00
Tsuda Kageyu
2303da48a2
Merge pull request #204 from TsudaKageyu/number
...
Changed String::number() to use a standard function
2013-05-18 22:59:02 -07:00
Tsuda Kageyu
bbec1c7f81
Changed String::number() to use a standard function
2013-05-19 14:39:45 +09:00
Tsuda Kageyu
79f3edebc0
Added myself to AUTHORS
2013-05-19 11:59:37 +09:00
Tsuda Kageyu
d49d0a6888
Merge pull request #203 from TsudaKageyu/fix-filestream
...
Fixed initialization of FileStream
2013-05-18 19:21:36 -07:00
Tsuda Kageyu
5c3f096fe4
Fixed initialization of FileStream
2013-05-19 11:09:43 +09:00
Tsuda Kageyu
7060d53cf3
Merge pull request #202 from TsudaKageyu/fix-filestream
...
Small refactoring of FileStream
2013-05-18 10:49:31 -07:00
Tsuda Kageyu
dcf11b9586
Small refactoring of FileStream
2013-05-19 02:33:17 +09:00
Tsuda Kageyu
229d69864d
Merge pull request #201 from TsudaKageyu/unicodefile
...
Small change in Win9x support
2013-05-18 07:41:07 -07:00
Tsuda Kageyu
36d9fc1973
Small change in Win9x support
2013-05-18 23:30:15 +09:00
Tsuda Kageyu
d06f480f82
Merge pull request #199 from TsudaKageyu/fix-zlib
...
Fixed the test for ID3V2's compressed frame
2013-05-16 04:38:24 -07:00
Tsuda Kageyu
f9efcfb8d6
Fixed the test for ID3V2's compressed frame
2013-05-16 20:29:58 +09:00
Tsuda Kageyu
db06166330
Merge pull request #187 from TsudaKageyu/config
...
Removed config.h and moved macros into taglib_config.h
2013-05-03 08:03:51 -07:00
Tsuda Kageyu
5d8f781467
Fixed mismatched macro names
2013-05-03 21:05:55 +09:00
Tsuda Kageyu
03adafbfd9
Removed TAGLIB_HAVE_STD_WSTRING macro that affects the public ABI
2013-05-03 18:28:28 +09:00
Tsuda Kageyu
198530547d
Removed RefCounter implementation from a public header
2013-05-03 13:53:32 +09:00
Tsuda Kageyu
4b6745b59b
Merge pull request #188 from TsudaKageyu/string-comment
...
Fixed comments in tstring.h
2013-05-02 21:10:26 -07:00
Tsuda Kageyu
6f0bf734d5
Fixed comments in tstring.h
2013-05-03 13:03:38 +09:00
Tsuda Kageyu
23bd3784a1
Separated public and private config.h
2013-05-03 11:44:36 +09:00
Tsuda Kageyu
8f8ef3788f
Prefixed public variables
2013-05-02 23:26:06 +09:00
Tsuda Kageyu
b0938a3cf1
Removed config.h and moved macros into taglib_config.h
2013-05-02 20:41:59 +09:00
Tsuda Kageyu
a2688a1ff0
Merge pull request #180 from TsudaKageyu/master
...
Fixed possible memory leak
2013-04-30 09:39:23 -07:00
Tsuda Kageyu
d6fc2ef4aa
Fixed possible memory leak
2013-05-01 01:32:48 +09:00
Tsuda Kageyu
9f29804f60
Merge pull request #178 from rakuco/clear-mbstate_t-correctly
...
Correctly initialize std::mbstate_t.
2013-04-29 15:06:57 -07:00
Raphael Kubo da Costa
289b6abb43
Correctly initialize std::mbstate_t.
...
mbstate_t is an opaque type that is often a union or a struct, so setting it
directly to 0 is incorrect and causes build failures with some compilers
such as clang.
2013-04-29 23:56:07 +03:00
Tsuda Kageyu
55f1224d6e
Merge pull request #176 from TsudaKageyu/master
...
Add some error handling to tfilestream.cpp
2013-04-27 17:37:17 -07:00
Tsuda Kageyu
395743eb49
Add some error handling to tfilestream.cpp
2013-04-28 09:14:37 +09:00
Tsuda Kageyu
62827269b6
Merge pull request #175 from TsudaKageyu/master
...
Comment update
2013-04-27 11:10:37 -07:00
Tsuda Kageyu
d2273a7218
Comment update
2013-04-28 03:06:59 +09:00
Tsuda Kageyu
bd85cf8928
Merge pull request #174 from TsudaKageyu/alignment
...
Fixed detection of alignment-tolerant CPUs
2013-04-27 11:02:31 -07:00
Tsuda Kageyu
f3cbb883f2
Fixed detection of alignment-tolerant CPUs
2013-04-28 02:57:51 +09:00
Tsuda Kageyu
a80222efa5
Merge pull request #171 from TsudaKageyu/string-test
...
Add some tests for String
2013-04-26 04:35:57 -07:00
Tsuda Kageyu
5e13e0c838
Add some tests for String
2013-04-26 19:43:10 +09:00
Tsuda Kageyu
58765ac40a
Merge pull request #170 from TsudaKageyu/master
...
Small bug fix in tstring.cpp
2013-04-26 01:52:15 -07:00
Tsuda Kageyu
6e35e56d7f
Small bug fix in tstring.cpp
2013-04-26 17:32:39 +09:00
Tsuda Kageyu
a9cdbb7e75
Merge pull request #166 from TsudaKageyu/cmake_test
...
Refactor out some stuff to CMake tests
2013-04-25 18:54:37 -07:00
Tsuda Kageyu
8c71428d4f
Add missing HAVE_WIN_ATOMIC block
2013-04-23 16:25:18 +09:00
Tsuda Kageyu
2c85b4d178
Fix mistaken preprocessor conditionals
2013-04-23 10:42:45 +09:00
Tsuda Kageyu
3293cee11e
Skip unnecessary CMake tests
2013-04-23 08:47:48 +09:00
Tsuda Kageyu
27990d0623
Merge pull request #169 from TsudaKageyu/win9x-unicode
...
Improve Unicode file name handling in Win9x
2013-04-22 10:10:14 -07:00
Tsuda Kageyu
986ee3c44a
Improve Unicode file name handling in Win9x
2013-04-23 01:59:02 +09:00
Tsuda Kageyu
dfb3962511
Merge pull request #168 from TsudaKageyu/fix-win9x
...
Fix a change breaks compatibility with Win9x
2013-04-22 08:28:34 -07:00
Tsuda Kageyu
3e89f7cb40
Fix a change breaks compatibility with Win9x
2013-04-23 00:15:54 +09:00
Tsuda Kageyu
8c233f4552
Merge pull request #167 from TsudaKageyu/filesize
...
Improve getting file size in Win32
2013-04-21 16:29:26 -07:00
Tsuda Kageyu
c2896fd629
Improve getting file size in Win32
2013-04-22 08:01:25 +09:00
Tsuda kageyu
49b07a2662
Refactor out some stuff to CMake tests
2013-04-21 22:24:12 +09:00
Tsuda Kageyu
529d78f54b
Merge pull request #165 from TsudaKageyu/sign-ext
...
Fix unexpected sign extension
2013-04-21 00:15:02 -07:00
Tsuda kageyu
dc89bdd3f0
Fix unexpected sign extension
2013-04-21 16:06:12 +09:00
Tsuda Kageyu
81a9f0474d
Merge pull request #161 from TsudaKageyu/fix-syncdata
...
Fix reading corrupted ID3v2 syncdata
2013-04-19 17:43:16 -07:00
Tsuda kageyu
8a7d1dd796
Fix reading corrupted ID3v2 syncdata
2013-04-20 09:40:01 +09:00
Tsuda Kageyu
457b1abac8
Merge pull request #160 from TsudaKageyu/fix-cast-align
...
Fix -Wcast-align violation
2013-04-19 14:43:42 -07:00
Tsuda kageyu
e8498b9264
Fix -Wcast-align violation
2013-04-20 05:54:06 +09:00
Tsuda Kageyu
3eeff8b933
Merge pull request #158 from TsudaKageyu/fix-errmsg
...
Fix an error message in Win32
2013-04-18 14:30:37 -07:00
Tsuda kageyu
d959ab89f1
Fix an error message in Win32
2013-04-19 06:13:27 +09:00
Tsuda Kageyu
b081fb2833
Merge pull request #157 from TsudaKageyu/file-win32
...
Fix improper file handling in Win32
2013-04-18 06:38:48 -07:00
Tsuda kageyu
e0805b039c
Fix improper file handling in Win32
2013-04-18 22:16:59 +09:00
Tsuda Kageyu
c352b5e0c7
Merge pull request #155 from TsudaKageyu/gcc-warnings
...
Fix some GCC specific warnings
2013-04-18 04:09:30 -07:00
Tsuda kageyu
a71749a6b5
Fix some GCC specific warnings
2013-04-18 19:52:52 +09:00
Tsuda Kageyu
a188778eb8
Merge pull request #154 from TsudaKageyu/tonumber
...
ByteVector::toUInt() takes offset and length
2013-04-18 03:26:21 -07:00
Tsuda kageyu
439f27640a
ByteVector::toUInt() takes offset and length
2013-04-18 18:36:19 +09:00
Tsuda Kageyu
c9209cc99e
Merge pull request #150 from TsudaKageyu/detect-codecvt
...
Detect <codecvt> header automatically
2013-04-17 08:42:14 -07:00
Tsuda kageyu
1370a1cc83
Detect <codecvt> header automatically
2013-04-18 00:32:14 +09:00
Tsuda Kageyu
266e8f5ae4
Merge pull request #149 from TsudaKageyu/fileref-string
...
Fix improper string handling
2013-04-17 07:55:33 -07:00
Tsuda kageyu
ccaac6c336
Fix improper string handling
2013-04-17 23:47:09 +09:00
Tsuda Kageyu
88005640d5
Merge pull request #148 from TsudaKageyu/reset-smart-pointer
...
Revert changes concerning the smart pointer
2013-04-17 07:08:36 -07:00
Tsuda kageyu
1f4e06ea7c
Revert changes concerning the smart pointer
2013-04-17 22:54:56 +09:00
Tsuda Kageyu
b6c9fb2da1
Merge pull request #147 from TsudaKageyu/shared_ptr
...
Use shared_ptr if possible regardless of C++11 support
2013-04-17 06:03:28 -07:00
Tsuda kageyu
66f5f396ff
Use shared_ptr if possible regardless of C++11 support
2013-04-17 21:41:23 +09:00
Tsuda Kageyu
c9628aae49
Merge pull request #145 from TsudaKageyu/classname
...
Changed some class names
2013-04-16 20:51:33 -07:00
Tsuda kageyu
bb5d3f0600
Changed some class names
2013-04-17 12:45:14 +09:00
Tsuda Kageyu
1f819ce2c5
Merge pull request #144 from TsudaKageyu/restore-abi2
...
Restore ABI changed in pull request #60
2013-04-16 20:38:29 -07:00
Tsuda kageyu
593eda7d9d
Restore ABI changed in pull request #60
2013-04-17 12:28:00 +09:00
Tsuda Kageyu
14dab7c649
Merge pull request #143 from TsudaKageyu/restore-abi
...
Restore ABI breaking change
2013-04-16 19:41:55 -07:00
Tsuda kageyu
94a07fa39a
Restore ABI breaking change
2013-04-17 11:33:01 +09:00
Tsuda Kageyu
492a0f8199
Merge pull request #142 from TsudaKageyu/shared_ptr
...
Use std::shared_ptr<T> if C++11 is available
2013-04-16 19:27:42 -07:00
Tsuda kageyu
24736b919a
Use std::shared_ptr<T> if C++11 is available
2013-04-17 11:12:42 +09:00
Tsuda Kageyu
38220a57ce
Merge pull request #141 from TsudaKageyu/smart-ptr
...
Replace RefCounter with a smart pointer
2013-04-16 18:38:41 -07:00
Tsuda kageyu
b14dc1572d
Replace RefCounter with a smart pointer
2013-04-17 10:10:25 +09:00
Tsuda Kageyu
21964f3cbc
Merge pull request #139 from TsudaKageyu/refactor-string
...
Small refactoring of tstring.cpp
2013-04-16 06:47:28 -07:00
Tsuda kageyu
c13921b7c7
Small refactoring of tstring.cpp
2013-04-16 21:47:12 +09:00
Tsuda Kageyu
39fef2705c
Merge pull request #138 from TsudaKageyu/refector-bytevector
...
Small refactoring of tbytevector.cpp
2013-04-16 05:34:59 -07:00
Tsuda kageyu
8c427c7de9
Small refactoring of tbytevector.cpp
2013-04-16 19:57:04 +09:00
Tsuda Kageyu
0bb995abd0
Merge pull request #137 from TsudaKageyu/refactor-bytevector
...
Small refactoring of tbytevector.cpp
2013-04-15 22:55:22 -07:00
Tsuda kageyu
0195eef865
Small refactoring of tbytevector.cpp
2013-04-16 14:35:47 +09:00
Tsuda Kageyu
cc3dbd84ce
Merge pull request #134 from TsudaKageyu/fix-byteswap
...
Bug fix for #132
2013-04-15 14:02:17 -07:00
Tsuda kageyu
5e6285afab
Bug fix for #132
2013-04-16 05:53:36 +09:00
Tsuda Kageyu
df28a1335a
Merge pull request #133 from TsudaKageyu/fix-byteswap
...
Bug fix for #132
2013-04-15 12:22:37 -07:00
Tsuda kageyu
88a0871784
Bug fix for #132
2013-04-16 04:06:29 +09:00
Tsuda Kageyu
f0edca2f8c
Merge pull request #132 from TsudaKageyu/byteswap
...
Add cross-platform byte order conversions
2013-04-15 08:26:32 -07:00
Tsuda Kageyu
f5462e3e19
Add cross-platform byte order conversions
2013-04-16 00:12:37 +09:00
Lukáš Lalinský
53c5a97b4c
Add tests for newline handling in String ( #125 )
2013-04-15 10:47:43 +02:00
Lukáš Lalinský
a3352fd899
Use the first instance of a MP4 atom ( #126 )
...
When a file contains multiple MP4 atoms with the same name, use the first
one. This is consistent with iTunes and other popular software.
2013-04-15 10:13:47 +02:00
Jingmin Wei
4a85e1e1ca
Allow the second byte of MPEG header to contain 0xFF
...
0xFF in the second byte means MPEG Version 1, Layer I, no CRC protection.
http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
2013-04-15 09:46:08 +02:00
Lukáš Lalinský
94efe5c187
Merge pull request #116 from ufleisch/tagduplication
...
Parameter to disable duplication between ID3v1 and ID3v2 tags, #115 .
2013-04-14 23:47:59 -07:00
Tsuda Kageyu
bef59a0b9a
Merge pull request #131 from TsudaKageyu/vc-warning
...
Fix VC++ specific warnings
2013-04-14 13:29:29 -07:00
Tsuda Kageyu
86142343ee
Fix VC++ specific warnings
2013-04-15 05:23:39 +09:00
Tsuda Kageyu
5b2458ed66
Merge pull request #130 from TsudaKageyu/improve-string
...
Some improvements of String
2013-04-14 13:17:31 -07:00
Tsuda Kageyu
b52cd44c25
Some improvements of String
2013-04-15 05:03:54 +09:00
Tsuda Kageyu
40997e7fc9
Merge pull request #122 from TsudaKageyu/reduce-copy
...
Reduce unnecessary memory copies by ByteVector
2013-04-06 06:32:26 -07:00
Tsuda Kageyu
a4e68a0304
Reduce unnecessary memory copies by ByteVector
2013-04-05 22:07:58 +09:00
Urs Fleisch
703736fbcb
Parameter to disable duplication between ID3v1 and ID3v2 tags, #115 .
2013-03-23 13:56:31 +01:00
Tsuda Kageyu
fd45808555
Merge pull request #104 from TsudaKageyu/test-warnings
...
Fix warnings in test_flacpicture.cpp
2013-03-19 06:03:23 -07:00
Tsuda Kageyu
e9fec47411
Fix warnings in test_flacpicture.cpp
2013-03-19 21:54:56 +09:00
Stephen F. Booth
6029352c09
Merge pull request #96 from nightingale-media-player/master
...
Make textual lyric frames use UTF8
2013-01-20 07:56:30 -08:00
rsjtdrjgfuzkfg
077208d17a
Create UTF8-Lyrics per default.
2013-01-18 17:21:35 +01:00
Michael Helmling
08863dec0b
Found and fixed more missing property interface forwarders.
...
Probably due to a copy-and-paste error the implementation of
File::removeUnsupportedProperties() contained cases for several type
which do not reimplement this method; for others the implementation was
missing and is now included.
In addition, the formats Speex and Opus suffered from the same bug as
OggFLAC in the commit before, which is now fixed.
2013-01-03 23:20:15 +01:00
Michael Helmling
80af92a715
Add forwarders for the property interface to Ogg::FLAC::File.
...
Fixes an infinite method resolution recursion in File::properties() and
File::setProperties(). Thanks to Sebastian Rachuj for pointing out this bug.
2013-01-03 23:00:17 +01:00
Lukáš Lalinský
237e0ec23c
Merge pull request #93 from magcius/master
...
c: Add support for TAGLIB_STATIC to the C bindings
2013-01-01 03:00:27 -08:00
Jasper St. Pierre
d52e97dfcd
c: Add support for TAGLIB_STATIC to the C bindings
...
Otherwise, we'll fail with dllimport/dllexport linking errors on
Windows.
2013-01-01 04:28:00 -05:00
Michael Helmling
8329d6ac1a
Update documentation of the property map interface in TagLib::File.
2012-12-27 11:38:01 +01:00
Michael Helmling
f1d723077f
Consistently handle invalid and deprecated tags in setProperties()
...
This commit reverts the use of strip() in setProperties() because the
latter function should not change the file before save() is called.
Instead, the following policy is now consistently applied for file formats
with multiple tag types:
- the recommended tag type is created, if it does not exist
- deprecated tags are updated, if they exist, but not created
- illegal tag types are ignored by setProperties(), but used in properties()
if no others exist.
The only tag types considered "illegal" so far are APEv2 in MPEG and ID3 in FLAC.
2012-12-26 22:46:37 +01:00
Michael Helmling
a095c468b2
Revert "Add a test to show a problem with properties() and duplication."
...
This reverts commit 6e3391a846 . The "problem" demonstrated in there won't be fixed due to lack of significance.
2012-12-20 17:30:19 +01:00
Michael Helmling
b14e6a3570
Update for pull request #89 : Change how setProperties() updates tags.
...
For file types supporting more than one tag format, setProperties() now always creates the most modern one. Deprecated tags are stripped.
2012-12-20 17:28:50 +01:00
Michael Helmling
6e3391a846
Add a test to show a problem with properties() and duplication.
2012-12-10 21:22:11 +01:00
Michael Helmling
c0ca5c97d5
Fix issue #88 by changing the behavior of setProperties().
...
For file types that support multiple tag standards (for example, FLAC
files can have ID3v1, ID3v2, and Vorbis comments) setProperties is now
called for all existing tags instead of only for the most recommended
one.
This fixes the problem that under some circumstances it was not possible
to delete a value using setProperties() because upon save() the call to
Tag::duplicate recovered that value from the ID3v1 tag.
2012-12-10 20:56:16 +01:00
Michael Helmling
d5cf6d72e2
Merge remote-tracking branch 'official/master'
2012-12-10 19:55:29 +01:00
Michael Helmling
9eb0f2941f
Add a test case for the return value of setProperties()
2012-12-10 19:55:23 +01:00
naota
3fa295d99d
Include sys/stat.h to define S_* properly
...
Without including sys/stat.h, this file failed to build on FreeBSD with the following error.
In file included from /var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/test_trueaudio.cpp:5:0:
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h: In function 'std::string copyFile(const string&, const string&)':
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:62: error: 'S_IRUSR' was not declared in this scope
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:72: error: 'S_IWUSR' was not declared in this scope
In file included from /var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/test_mpeg.cpp:6:0:
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h: In function 'std::string copyFile(const string&, const string&)':
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:62: error: 'S_IRUSR' was not declared in this scope
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:72: error: 'S_IWUSR' was not declared in this scope
gmake[2]: *** [tests/CMakeFiles/test_runner.dir/test_mpeg.cpp.o] Error 1
2012-11-28 07:54:08 +09:00
Lukáš Lalinský
812f63502b
Implement the PropertyMap interface for WMA
2012-11-23 09:32:00 +01:00
Lukáš Lalinský
353eb9f00f
Implement the PropertyMap interface for MP4
2012-11-22 10:40:22 +01:00
Lukáš Lalinský
1b813d9d6c
Document sort names
2012-11-21 17:26:17 +01:00
Lukáš Lalinský
c5dade5ee7
Use names that are consistent with Vorbis Comments
2012-11-21 17:24:32 +01:00
Lukáš Lalinský
e75d6f616c
Add support for reading MusicBrainz IDs from ID3v2 tags to PropertyMap
2012-11-21 17:21:30 +01:00
Lukáš Lalinský
15b601f053
Use PropertyMap in tagreader
2012-11-21 14:40:26 +01:00
Lukáš Lalinský
45317ef7f2
Revert "Fix opening of read-only files on Windows"
...
This reverts commit ade8dc1a21 .
2012-11-20 18:34:51 +01:00
Lukáš Lalinský
3da792152a
Merge pull request #85 from TsudaKageyu/fix-readonly
...
Fix reading read-only files in Win32
2012-11-20 09:23:16 -08:00
Tsuda Kageyu
3f6da779d2
Fix compilation in non-Win32
2012-11-20 22:46:03 +09:00
Tsuda Kageyu
57b8ae6e1c
Fix reading read-only files in Win32
2012-11-20 22:20:34 +09:00
Lukáš Lalinský
ade8dc1a21
Fix opening of read-only files on Windows
...
The CreateFile* functions return INVALID_HANDLE_VALUE on error, not NULL.
http://article.gmane.org/gmane.comp.kde.devel.taglib/2346
2012-11-20 14:15:16 +01:00
Lukáš Lalinský
c6f7ad3e83
Revert "Add a tool to inspect audio files, only MP4 is implemented for now"
...
This reverts commit 45b0279b41 .
2012-11-12 16:14:32 +01:00
Lukáš Lalinský
dbe6be778b
Build also examples
2012-11-11 16:44:01 +01:00
Lukáš Lalinský
45b0279b41
Add a tool to inspect audio files, only MP4 is implemented for now
2012-11-11 16:43:36 +01:00
Lukáš Lalinský
3a5aeb4573
Parse covr atoms with type 0 (fixes issue #84 )
2012-11-11 16:04:08 +01:00
Lukáš Lalinský
72745846f4
Update NEWS
2012-11-11 14:49:31 +01:00
Lukáš Lalinský
9e788bb8c2
Fix tests when compiled with clang on Linux
2012-11-11 14:26:10 +01:00
Lukáš Lalinský
56fbe7e14d
Make travis run tests also with clang
2012-11-10 20:51:17 +01:00
Lukáš Lalinský
44155f6771
Merge pull request #79 from gonemad/master
...
Check if file is open before reading tags
2012-11-04 01:27:43 -07:00
Lukáš Lalinský
341711c04b
Merge pull request #83 from jmarshallnz/more_itunes_hacks
...
A small fix, and some additional iTunes hacks (v2.2 frames in v2.3 tag)
2012-11-04 01:26:26 -07:00
Jonathan Marshall
be6187e893
adds new iTunes hack for v2.2 frames stored in a v2.3 tag (iTunes v8.1.1.10 for example)
2012-11-04 19:54:28 +13:00
Jonathan Marshall
c42bdeab43
fixes noop frame id size check in ID3v2::FrameFactory::createFrame
2012-11-04 19:52:10 +13:00
gonemad
7d7c58cb8e
Merge branch 'master' of https://github.com/taglib/taglib
2012-10-18 20:17:35 -04:00
Lukáš Lalinský
044da877e6
Make sure we build the tests
2012-10-13 13:38:35 +02:00
Lukáš Lalinský
2d7686b5fa
Actually run the tests
2012-10-13 13:36:33 +02:00
Lukáš Lalinský
074f6db6d8
Needs sudo
2012-10-13 13:34:44 +02:00
Lukáš Lalinský
7a884af0ef
Experimenting with Travis CI
2012-10-13 13:33:36 +02:00
Lukáš Lalinský
e568e1019d
Remove useless debug print
2012-10-13 09:11:20 +02:00
Lukáš Lalinský
ca543039a5
Include Opus in docs
2012-10-13 09:06:09 +02:00
Lukáš Lalinský
5e7b1da632
Add support for Ogg Opus
2012-10-13 08:55:23 +02:00
gonemad
6b9ef6421f
Fixed indents
2012-10-11 22:10:19 -04:00
gonemad
d15c8453ac
Added check if file is open before attempting to read tags
2012-10-11 21:20:03 -04:00
Lukáš Lalinský
1e660dda71
Partial changelog for 1.9
2012-10-10 17:09:03 +02:00
Lukáš Lalinský
2a77afc593
Merge remote-tracking branch 'nightingale/master'
2012-10-10 16:45:36 +02:00
Tsuda Kageyu
a9df3e48f7
Fix a bug in updating MP4 tags
2012-10-10 21:17:05 +09:00
rsjtdrjgfuzkfg
c8994ede3f
Restrict url frame generation to W??? Frames to prevent known non-text non-url frameIDs to be handled as url when containing only one String. No longer describe the default comment as "COMMENT".
2012-10-08 20:19:12 +02:00
Lukáš Lalinský
7e255733e0
Merge remote-tracking branch 'TsudaKageyu/id3v1-genrenumber'
2012-10-08 13:23:17 +02:00
Julien Ramseier
72f9a96cce
Fix missing CppUnit include directive
2012-10-07 15:41:40 +02:00
Stephen F. Booth
1308ff6479
Merge pull request #73 from ArnaudBienner/master
...
Corrupted FLAC files scan can result in heavy CPU consumption: fix
2012-10-07 05:29:02 -07:00
Arnaud Bienner
b7a15092d8
Faster FLAC::FilePrivate destructor
2012-10-07 03:07:53 +02:00
Arnaud Bienner
ad9ffc62e6
Consider FLAC file as being invalid if a 0 length block is found
2012-10-07 03:04:02 +02:00
Tsuda Kageyu
46e613dcca
Add reading/writing ID3v1 genre in number
2012-10-04 19:23:10 +09:00
Urs Fleisch
2d7414733e
Crash when saving xm files ( fixes #68 )
2012-09-30 15:42:16 +02:00
Lukáš Lalinský
9f597bab1b
Change some variables to follow the TagLib naming convention
2012-09-30 10:50:19 +02:00
Lukáš Lalinský
321b9b5a8b
Merge remote-tracking branch 'TsudaKageyu/filestream'
2012-09-30 10:43:58 +02:00
Lukáš Lalinský
60a3a4e455
Various uint fixes
...
We really need to get rid of TagLib::uint...
2012-09-30 10:22:10 +02:00
Lukáš Lalinský
57e5cc8c17
Merge remote-tracking branch 'TsudaKageyu/infotag-patch'
2012-09-30 10:15:56 +02:00
Lukáš Lalinský
5250673fa0
Merge pull request #70 from FestusHagen/taglib-config_cmd
...
Win32 taglib-config.cmd support.
2012-09-30 01:06:49 -07:00
Lukáš Lalinský
ab5e19a016
Merge pull request #69 from FestusHagen/SW_MinGW
...
Silence warnings with MinGW 4.6.3.
2012-09-29 06:54:36 -07:00
Festus Hagen
8790e9de01
Silence warnings with MinGW 4.6.3.
2012-09-29 09:01:44 -04:00
Festus Hagen
1086d4476d
Win32 taglib-config.cmd support.
2012-09-28 21:41:45 -04:00
Lukáš Lalinský
7b80418122
Fix the version number
2012-09-26 20:30:53 +02:00
Stephen F. Booth
02d034f53f
Merge pull request #65 from TsudaKageyu/tagsondisk
...
Add MPEG::FILE::Has*Tag functions
2012-09-08 05:14:30 -07:00
Tsuda Kageyu
e7126db97c
Add MPEG::FILE::Has*Tag functions
2012-09-08 14:13:20 +09:00
Tsuda Kageyu
4582ea3b27
Fixed CMakeLists.txt
2012-09-08 01:17:15 +09:00
Tsuda Kageyu
43e100fd37
FileStream improvement in Win32
2012-09-07 23:48:06 +09:00
Tsuda Kageyu
071a1477b5
Fixed an API change
2012-09-07 08:16:30 +09:00
Tsuda Kageyu
61c8013f2c
Added missing comments
2012-09-07 08:16:28 +09:00
Tsuda Kageyu
9c8c215c30
Support INFO tags of RIFF wave files.
2012-09-07 08:16:26 +09:00
Lukáš Lalinský
aa34afda79
Merge remote-tracking branch 'TsudaKageyu/substr-bug'
2012-09-06 20:03:15 +02:00
Lukáš Lalinský
942ec58de5
Add tests for String::substr
2012-09-06 20:03:08 +02:00
Lukáš Lalinský
082a36147b
Add change log, update SOVERSION
2012-09-06 19:57:10 +02:00
Lukáš Lalinský
f11b206fe8
Do not delete the IOStream object in TagLib::File
2012-09-06 19:43:52 +02:00
Lukáš Lalinský
e37f6ed752
Update CMakeLists.txt
2012-09-06 19:30:45 +02:00
Lukáš Lalinský
d2f20e8d2a
Merge branch 'master' of https://github.com/moeeka/taglib
2012-09-06 19:24:22 +02:00
Rupert Daniel
f194a55c0f
Updated OWNE implementaion with minor changes after pull review
2012-09-06 12:11:20 +01:00
Rupert Daniel
719187794e
Implementation of the ID3v2.4 OWNE frame.
2012-09-05 16:37:46 +01:00
Tsuda Kageyu
74b94613a0
Bug fix in String::substr()
2012-09-05 19:46:52 +09:00
Lukáš Lalinský
33d0be110b
Fix ambiguous reference to uint in tests
2012-09-03 19:55:55 +02:00
Tsuda Kageyu
df12b4ffc6
Refectored the FileStream constructor.
2012-09-03 01:45:28 +09:00
Tsuda Kageyu
d16c24ae21
Merge branch 'master' of https://github.com/taglib/taglib into security-warnings
2012-09-02 23:40:11 +09:00
Lukáš Lalinský
1c35918834
Merge remote-tracking branch 'TsudaKageyu/warnings'
2012-09-02 15:25:41 +02:00
Tsuda Kageyu
d163f36d35
Fix Visual C++ specific warnings about security
2012-08-23 21:57:12 +09:00
Tsuda Kageyu
590cd4c9f6
Fix warnings with VS2010
2012-08-23 20:54:18 +09:00
Tsuda Kageyu
6c0227ee13
Fix compilation errors with Visual Studio 2010
2012-08-23 19:58:21 +09:00
Lukáš Lalinský
9bb57fe0a7
Merge remote-tracking branch 'TsudaKageyu/id3v2-comment-update'
2012-08-23 11:00:32 +02:00
tsuda.kageyu@gmail.com
3fecdbf428
Comment update for ID3v2::Tag::setLatin1StringHandler()
2012-08-23 17:57:00 +09:00
Lukáš Lalinský
356c7a5d6e
Merge remote-tracking branch 'TsudaKageyu/cross-border-delete'
2012-08-23 10:51:47 +02:00
tsuda.kageyu@gmail.com
4b4f70253b
Comment update for ID3v1::Tag::setStringHandler()
2012-08-23 17:45:25 +09:00
Lukáš Lalinský
8b61a06fda
Merge remote-tracking branch 'TsudaKageyu/id3v2-brokenlatin1-patch'
2012-08-23 10:22:43 +02:00
Lukáš Lalinský
6801ac2515
Merge remote-tracking branch 'poiru/master'
2012-08-23 10:19:08 +02:00
Lukáš Lalinský
29d17bb8e9
Merge remote-tracking branch 'supermihi/master'
2012-08-23 10:17:05 +02:00
tsuda.kageyu@gmail.com
fe8053c7d5
Support broken Latin-1 encodings in ID3V2
2012-08-23 12:19:51 +09:00
tsuda.kageyu@gmail.com
eb63ee8ec6
Remove possible cross binary boundary delete
2012-08-23 11:09:22 +09:00
Lukáš Lalinský
e86e5f906b
ID3 frame IDs with 0 should be recognized as valid
...
http://article.gmane.org/gmane.comp.kde.devel.taglib/2275
2012-08-17 07:50:48 +02:00
Lukáš Lalinský
60e82e6694
Ignore additional files
2012-08-17 07:34:44 +02:00
Birunthan Mohanathas
fc6e02da35
Update header comments to reflect c4163a2
2012-08-02 17:25:20 +03:00
Michael Helmling
4140c5f2eb
Check PropertyMap keys format-specifically instead of globally.
...
Instead of statically forbidding certain keys in PropertyMap, now the
setProperties() implementations of the different formats check if the
keys are valid for that particular specification and include them in
the returned PropertyMap otherwise.
This should remove an unneccessary complification for programmers since
now there's only one step, namely calling setProperties(), where
problems might occur.
Also the previous implementation leads to problems with invalid keys:
because taglib doesn't use exceptions, something like
map.insert("FORBIDDEN KEY", "some value");
would lead to the value being inserted under String::null, which
smells like the source of strange bugs.
2012-07-30 20:52:30 +02:00
Michael Helmling
fc3fc10f60
add id3v2 frame delete test
2012-07-23 20:53:25 +02:00
BSDKaffee
3bc123aed6
- Disambiguate uint and ushort references
2012-07-15 01:57:53 -04:00
Lukáš Lalinský
3b392f2402
Changelog for 1.8 beta
2012-07-14 21:53:09 +02:00
Lukáš Lalinský
8ff0feb28e
Cast to long
2012-07-14 21:21:03 +02:00
Lukáš Lalinský
61ed295af8
Merge remote-tracking branch 'poiru/master'
2012-07-14 21:09:54 +02:00
Lukáš Lalinský
09af2a7b57
Merge remote-tracking branch 'robinst/mpeg-file-id3vxtag-docs-inexistent-tags'
2012-07-14 21:08:59 +02:00
Lukáš Lalinský
050ff3835d
Revert "Install examples if built."
...
This reverts commit 52e96e48c5 .
2012-07-14 21:06:53 +02:00
Lukáš Lalinský
674ae0fa6d
Merge remote-tracking branch 'kensington/master'
2012-07-14 21:06:08 +02:00
Lukáš Lalinský
411d318f34
Merge remote-tracking branch 'robinst/dont-copy-from-id3v1-when-only-saving-id3v2'
2012-07-14 21:03:16 +02:00
Lukáš Lalinský
fbb1c7e554
Merge branch 'mpc_sv8'
2012-07-11 14:15:37 +02:00
Lukáš Lalinský
fd818857e0
More Musepack tests
2012-07-11 14:15:12 +02:00
Lukáš Lalinský
930168f990
Refactoring of the Musepack SV8 properties code
2012-07-11 14:13:41 +02:00
Alex Novichkov
291d925fc1
MPC v8 audio properties
2012-07-11 13:08:10 +02:00
Scott Wheeler
7c4c455a40
Use '0' here instead of 'NULL'
...
0 is used throughout the rest of the TagLib source, and generally
preferred in C++:
http://www2.research.att.com/~bs/bs_faq2.html#null
2012-07-03 12:26:20 +02:00
Stephen F. Booth
f429d6f406
Merge pull request #41 from EliaCereda/master
...
Properly initialize frame
2012-06-30 07:33:25 -07:00
Elia Cereda
c68fe9ad7b
Fixed error "Branch condition evaluates to a garbage value" (from Xcode 4.3.3 Static Analyzer, mpeg/id3v2/id3v2tag.cpp:377)
...
This error occurs when the frame variable is left uninitialized because its id doesn't match any of the ids in the if and else-id cases. Initializing it on declaration fixes this issue.
2012-06-30 16:25:33 +02:00
Stephen F. Booth
81aac3a590
Merge pull request #39 from robinst/install-build-tests-option
...
Mention -DBUILD_TESTS=on in "Unit Tests" of INSTALL
2012-06-11 04:57:04 -07:00
Robin Stocker
7279b4fb7b
Don't duplicate from ID3v1 to ID3v2 when saving only ID3v2
...
When saving only v2 with stripOthers (which means stripping v1), the
data from v1 would still be duplicated to v2. Likewise for the other way
around.
This is not the expected outcome when e.g. a frame was removed in v2,
because it would be added again on save from the v1 data. The test shows
that.
This changes save to only duplicate the data when the other tag type
will not be stripped.
2012-06-10 18:53:25 +02:00
Robin Stocker
b0ac79c60e
Mention -DBUILD_TESTS=on in "Unit Tests" of INSTALL
2012-06-10 18:26:06 +02:00
Robin Stocker
382aec46f7
Fix docs of MPEG::File::ID3v(1|2)Tag for inexistent tag
...
Since 37e2d629 , the ID3v1 and ID3v2 tags are always created at the end
of MPEG::File::read. So contrary to what the documentation said, a null
pointer is never returned.
To check if a tag contains data, refer to isEmpty() in the
documentation.
2012-06-10 15:27:54 +02:00
Michael Palimaka
b5ad68d64b
Add custom 'check' target that depends on the test_runner target for backwards compatibility.
2012-05-17 03:42:36 +10:00
Michael Palimaka
52e96e48c5
Install examples if built.
2012-05-16 04:37:25 +10:00
Michael Palimaka
5bcfecb6cc
Use ctest instead of custom target.
2012-05-16 04:00:22 +10:00
Lukáš Lalinský
2c2a486313
Merge branch 'stable'
...
Conflicts:
CMakeLists.txt
NEWS
2012-04-20 18:30:07 +02:00
Lukáš Lalinský
059f2243b3
Prepare 1.7.2 release
2012-04-20 17:57:13 +02:00
Lukáš Lalinský
cce6ad46c9
Reverse the version check, similarly to what mp4v2 does
2012-04-20 17:52:12 +02:00
Birunthan Mohanathas
06597123b8
Remove trailing whitespace
2012-04-19 13:09:45 +03:00
Birunthan Mohanathas
e5ede410bc
Tabs to spaces
2012-04-19 13:04:42 +03:00
Vinnie Falco
dafb3af742
Remove 'using namespace std' in tmap.h
2012-04-17 22:05:09 -07:00
Lukáš Lalinský
089643f115
Merge remote-tracking branch 'vinniefalco/rename_enums'
2012-04-17 08:49:02 +02:00
Vinnie Falco
26f458b87f
Resolve scope resolution for APE::Footer definitions in apefooter.cpp
2012-04-15 07:58:50 -07:00
Vinnie Falco
c22791318c
Resolve ambiguous File symbol in apetag.cpp
2012-04-15 07:57:02 -07:00
Vinnie Falco
5081e3cf4f
Rename anonymous enumeration symbols to be unique trueaudiofile.cpp
2012-04-15 02:41:27 -07:00
Vinnie Falco
1bde4cea09
Rename anonymous enumeration symbols to be unique in wavpackfile.cpp
2012-04-15 02:40:46 -07:00
Vinnie Falco
0907e86a94
Rename anonymous enumeration symbols to be unique in apefile.cpp
2012-04-15 02:40:23 -07:00
Vinnie Falco
742a3a1dbb
Rename anonymous enumeration symbols to be unique in mpcfile.cpp
2012-04-15 02:39:19 -07:00
Vinnie Falco
04a4a6b8d4
Rename anonymous enumeration symbols to be unique in flacfile.cpp
2012-04-15 02:38:15 -07:00
Jeff Mitchell
b216b448c5
Fix compilation
2012-04-12 18:41:40 -04:00
Stephen F. Booth
4f8a6fdfaf
Verify that an APE text item isn't empty before use
2012-04-12 10:53:32 -04:00
Stephen F. Booth
32a4ac6599
Preserve source code backward compatibility
2012-04-10 18:06:58 -04:00
Stephen F. Booth
ca26a9ad3e
Added support for APE tag binary items
2012-04-10 07:24:12 -04:00
Stephen F. Booth
bd03e352cc
Allow tag items to be replaced
2012-04-07 08:54:22 -04:00
Stephen F. Booth
69ac59f5f0
Added sampleFrames() to audio properties
2012-04-06 18:30:13 -04:00
Stephen F. Booth
2297a6d531
Added missing tmap.h
2012-04-06 18:29:56 -04:00
Lukáš Lalinský
2a4850f211
Merge branch 'stable'
...
Conflicts:
CMakeLists.txt
2012-03-18 09:22:53 +01:00
scottmc
288c6e4a3f
Include <iostream> instead of <ostream> to fix compilation on Haiku
2012-03-18 09:20:26 +01:00
Lukáš Lalinský
606edf8171
Increment the version number
2012-03-17 11:02:24 +01:00
Lukáš Lalinský
3c7b05a900
Merge branch 'stable'
...
Conflicts:
NEWS
2012-03-17 10:59:34 +01:00
Lukáš Lalinský
009c43952f
Changelog
2012-03-17 10:58:22 +01:00
Birunthan Mohnathas
9c1668f28b
Fixed (huge) memory leak with ASF.
2012-03-17 10:48:57 +01:00
Lukáš Lalinský
8e67b40bdc
Fix compilation errors
2012-03-17 10:45:52 +01:00
Lukáš Lalinský
76222cb1eb
Merge branch 'master' of https://github.com/supermihi/taglib
2012-03-17 10:41:02 +01:00
Birunthan Mohnathas
138dfca682
Additional change to previous fix.
2012-03-12 22:13:58 +02:00
Birunthan Mohnathas
c4163a26e8
Fixed memory leak of FrameFactory singleton.
2012-03-12 18:56:08 +02:00
Birunthan Mohnathas
4496efe33b
Fixed (huge) memory leak with ASF.
2012-03-12 18:44:08 +02:00
Lukáš Lalinský
3a760b060c
Merge branch 'stable'
...
Conflicts:
taglib/riff/aiff/aiffproperties.cpp
taglib/trueaudio/trueaudioproperties.cpp
tests/test_wav.cpp
2012-03-10 09:16:37 +01:00
Lukáš Lalinský
110cac8429
Avoid uint overflow in case the length + index is over UINT_MAX
2012-03-10 09:13:04 +01:00
Lukáš Lalinský
258ae751b5
Don't store the output of ByteVector::toUInt() in int, use uint instead
2012-03-10 09:12:32 +01:00
Lukáš Lalinský
df1d3e028e
Make sure to not try dividing by zero
2012-03-10 09:12:19 +01:00
Stephen F. Booth
23c86cf27d
Check if the header is TTA1 before parsing
2012-03-10 09:11:51 +01:00
Lukáš Lalinský
f59c3b67aa
Detect RIFF files with invalid chunk sizes
...
The bug report has a WAVE file with zero-sized 'data' chunk, which causes
TagLib to iterate over the file, 8 bytes in each iteration. The new code
adds a check for the chunk name, which forces it to mark the file as
invalid if the chunk name doesn't contain ASCII characters.
https://bugs.kde.org/show_bug.cgi?id=283412
2012-03-10 09:06:55 +01:00
Stephen F. Booth
294cb22241
Don't crash when wav files have a 0 for bit per channel (sampleWidth)
...
I've seen this in a wav that has an audio format of MP3 (0x55)
2012-03-10 08:58:45 +01:00
Frank Lai
b7ec0d26ab
Be more careful when parsing Vorbis Comments
2012-03-10 08:52:59 +01:00
Scott Wheeler
934ce51790
Don't lead the scanned blocks on save
2012-03-10 08:52:17 +01:00
Lukáš Lalinský
dcdf4fd954
Avoid uint overflow in case the length + index is over UINT_MAX
2012-03-10 08:46:20 +01:00
Lukáš Lalinský
ab8a0ee893
Don't store the output of ByteVector::toUInt() in int, use uint instead
2012-03-04 12:01:21 +01:00
Lukáš Lalinský
77d61c6eca
Make sure to not try dividing by zero
2012-03-04 11:51:05 +01:00
Michael Helmling
f5a2518273
Fixed handling of UnknownFrames in ID3v2.
...
- If an unknown frame with id "XXXX" occurs, an entry
"UNKNOWN/XXXX" is added to unsupportedData().
The removeUnsupportedProperties() method in turn
removes all unknown frames with id "XXXX" if it
encounters a string "UNKNOWN/XXXX" in the given list.
- Implemented findByDescription() to UnsynchronizedLyricsFrame
in order to support removal of lyrics frames with unsupported
keys.
- Adapted id3v2 test case to new QuodLibet policy.
2012-02-26 19:21:57 +01:00
Michael Helmling
6e6d823992
Removed quodlibet special case handling
2012-02-26 18:38:03 +01:00
Michael Helmling
f859fcf82a
Add support for Unknown TXXX frames.
2012-02-26 18:07:02 +01:00
Michael Helmling
37c87e0317
Fixed identation
2012-02-26 10:56:18 +01:00
Michael Helmling
0a3b998ca5
Fix USLT frame creation in Frame::createTextualFrame()
2012-02-26 10:43:08 +01:00
Michael Helmling
fa0656e3c6
remove Tests/Examples build from CMakeLists
2012-02-26 10:37:59 +01:00
Michael Helmling
b05c3161c7
Added ID3v2 PropertyMap interface documentation.
2012-02-25 19:11:31 +01:00
Michael Helmling
79670beca1
some cosmetic changes
2012-02-25 18:59:53 +01:00
Michael Helmling
9fd22023cd
Merge remote-tracking branch 'official/master'
2012-02-25 18:51:30 +01:00
Michael Helmling
b8d5246f88
Moved APE test to correct place; added MOD tag test.
2012-02-25 18:46:19 +01:00
Michael Helmling
05b5e06928
added APE tag PropertyMap test
2012-02-25 18:32:00 +01:00
Michael Helmling
d28cc83fb4
Added another test for ID3v2 PropertyMap interface; fixed various bugs
2012-02-25 18:22:17 +01:00
Michael Helmling
495a028da3
removed debug messages
2012-02-19 15:15:25 +01:00
Michael Helmling
23d303a896
fixed bugs preventing tests from running
2012-02-19 15:13:31 +01:00
Michael Helmling
6c054af3ed
Added some functions, started to fix bugs.
2012-02-19 12:15:28 +01:00
Michael Helmling
70c3264279
fixed tests
2012-02-15 22:09:28 +01:00
Michael Helmling
cfa5ac6569
Fixed id3v2 test
2012-02-15 21:56:02 +01:00
Michael Helmling
de51307de7
Added lots of missing includes
2012-02-15 21:54:19 +01:00
Michael Helmling
140f4a57e2
fixed lots of bugs found by 'make'
2012-02-14 22:11:30 +01:00
Michael Helmling
8a8e9b702c
Ported xm.
2012-02-14 21:35:50 +01:00
Michael Helmling
d6215365a1
Ported wavpack.
2012-02-14 21:34:43 +01:00
Michael Helmling
2185d52f56
Ported trueaudio.
2012-02-14 21:32:36 +01:00
Michael Helmling
48aaaf8dc4
Ported s3m; removed old id3v2dicttools.
2012-02-14 21:29:30 +01:00
Michael Helmling
d2c43d7174
ID3 interface complete; vorbis done; wav done
2012-02-14 21:27:14 +01:00
Lukáš Lalinský
cdfb447042
Add explicitly declared default constructor to StringHandler
2012-02-04 21:22:52 +01:00
Lukáš Lalinský
2d00b690de
Merge branch 'master' of https://github.com/poiru/taglib
2012-02-04 20:38:14 +01:00
Stephen F. Booth
51675f3399
Added sampleFrames to FLACProperties
2012-02-04 11:34:40 -05:00
Stephen F. Booth
fa662a23db
Check if the header is TTA1 before parsing
2012-02-04 08:39:45 -05:00
Stephen F. Booth
dc628204c0
Added sampleFrames() for TTA files
2012-02-04 08:30:34 -05:00
Birunthan Mohanathas
9564956a7f
Removed space.
2012-02-02 18:12:37 +02:00
Birunthan Mohnathas
1f2248d24b
Additional change to previous fix.
2012-02-02 17:50:58 +02:00
Birunthan Mohnathas
06424598bb
Fixed memory leak.
2012-02-02 15:03:41 +02:00
Stephen F. Booth
7b3f279294
Correctly handle non-integral bit depths
2012-01-30 22:31:15 -05:00
Michael Helmling
a8632f710f
More progress in ID3 ... setProperties() will get messy :(
2012-01-22 22:06:24 +01:00
Michael Helmling
0c8e5bbec8
Implemented asProperties() in all relevant textual frames.
2012-01-22 17:08:02 +01:00
Michael Helmling
a5e45f196b
Started to work on ID3v2.
2012-01-21 23:05:59 +01:00
Michael Helmling
e4d955d6ef
Migration to new PropertyMap ... done ape to mod.
2012-01-21 14:52:24 +01:00
Michael Helmling
18ae797df4
Add unsupportedData() to PropertyMap, simplified [] behavior.
2012-01-17 18:09:30 +01:00
Michael Helmling
d11189b975
Basic implementation of a PropertyMap.
...
Implemented key/valuelist property map with
case-insensitive ASCII keys and StringList values.
Todo:
- subclass StringList to add flags indicating whether a value could
be written to the specific file format
- add member attribute indicating list of frames that could not be
parsed into the PropertyMap representation.
2012-01-16 22:37:30 +01:00
Michael Helmling
67d896e6a7
Implemented the most easy comments on the pull request.
2012-01-14 22:02:17 +01:00
Michael Helmling
ea41cd8903
Merge remote-tracking branch 'official/master'
2012-01-14 20:57:15 +01:00
Lukáš Lalinský
d904281c6b
Make it possible to generate an XML report
2012-01-14 10:16:54 +01:00
Lukáš Lalinský
40bf52e70f
Reverse the version check, similarly to what mp4v2 does
2012-01-10 17:18:20 +01:00
Lukáš Lalinský
b981b6dde7
Check also for the deprecated GIF type
2012-01-08 15:54:15 +01:00
Lukáš Lalinský
c237998983
Support non-UTF8 free-form atoms
2012-01-08 13:17:42 +01:00
Urs Fleisch
5ff810e98d
Support for ID3v2.2 frames used by iTunes (TCP, TS2, TSA, TSC, TSP, TST)
...
https://bugs.kde.org/show_bug.cgi?id=290330
2012-01-05 16:33:29 +01:00
Michael Helmling
7875d02a8f
Merge remote-tracking branch 'official/master'
2012-01-04 19:49:50 +01:00
Scott Wheeler
baafb3e290
Funny that there managed to be no operator!= for String for so long.
2012-01-01 16:01:18 +01:00
Michael Helmling
c4cef55158
Added tests and information about ignored id3 frames.
...
The ID3v2::toDict() function now has an optional
StringList* argument which will contain information
about frames that could not be converted to the dict
interface.
There are some dict tests for APE and FLAC now, and the
ID3v2 test was enlarged.
2012-01-01 14:42:48 +01:00
Michael Helmling
0eaf3a3fbd
Implemented dict interface for more formats.
...
Now supported: MOD files (IT, MOD, S3M, XM), RIFF files
(AIFF, WAV), TrueAudio, WavPack.
2011-11-02 21:02:35 +01:00
Michael Helmling
292a377d1e
Merge remote-tracking branch 'official/master'
2011-10-30 18:28:52 +01:00
Lukáš Lalinský
6ea8599313
Detect RIFF files with invalid chunk sizes
...
The bug report has a WAVE file with zero-sized 'data' chunk, which causes
TagLib to iterate over the file, 8 bytes in each iteration. The new code
adds a check for the chunk name, which forces it to mark the file as
invalid if the chunk name doesn't contain ASCII characters.
https://bugs.kde.org/show_bug.cgi?id=283412
2011-10-08 18:41:15 +02:00
Michael Helmling
772bc9f7c4
Further cleanup and simplification in id3v2dicttools
2011-09-12 21:52:11 +02:00
Michael Helmling
0c2ca20ec2
Restructured and simplified ID3v2Tag::fromDict().
2011-09-11 22:07:49 +02:00
Michael Helmling
2d31075047
Splitted ID3v2Tag::toDict() into several functions.
...
This should simplify future transition to virtual functions.
2011-09-11 18:22:15 +02:00
Graham Perks
837c9ef288
Add cmake option for visibility=hidden
2011-09-09 10:17:54 -05:00
Michael Helmling
0356249368
Merge remote-tracking branch 'official/master'
2011-09-01 16:33:39 +02:00
Michael Helmling
5647b2e293
Made im/export functions nonvirtual. Added similar functions to File and
...
its subclasses. TagLib::File contains a bunch of dynamic_casts to call
the correct specializations.
2011-08-28 22:58:40 +02:00
Lukáš Lalinský
686bcf55a9
Add support for iPhone ringtones
2011-08-28 11:02:34 +02:00
Michael Helmling
fa8159a9d0
Added toDict and fromDict methods for APE tags.
2011-08-27 22:30:20 +02:00
Michael Helmling
58db919e43
More support for the unified dictionary interface.
...
Addded fromDict() function to ID3v2Tag. Added fromDict() and
toDict() functions to the TagUnion class (uses the first non-empty tag).
Added fromDict() and toDict() functions for the generic Tag class, only
handling common tags without duplicates. Addded preliminary mp3 test
case. Python3 bindings now available on my github site.
2011-08-27 01:18:21 +02:00
Michael Helmling
b262180857
Some preliminary work for unified dictionary tag interface support.
...
- toDict() and fromDict() for XiphComments
- toDict() for ID3v2 Tags
2011-08-26 21:48:40 +02:00
Tim De Baets
bec3875b94
Added removePicture() to FLAC::File
2011-08-16 01:57:01 +02:00
Urs Fleisch
ce53d13af1
Add suport for more MP4 metadata atoms
...
https://bugs.kde.org/show_bug.cgi?id=275784
2011-08-13 17:07:41 +02:00
Mathias Panzenböck
4868bb5690
ByteVector::replace: test shrinking
2011-08-06 19:43:17 +02:00
Jonathan Liu
7cc36db760
Use the default frame factory when it's necessary to parse ID3v2 tags in APE files
...
https://bugs.kde.org/show_bug.cgi?id=278773
2011-08-06 11:05:20 +02:00
Lukáš Lalinský
028f831417
Basic tests for ByteVector::replace()
2011-08-05 18:47:53 +02:00
Lukáš Lalinský
303af305db
Merge remote branch 'panzi/master'
2011-08-05 18:35:24 +02:00
Johannes Pfau
22b57f4463
Add taglib_free function to C binding
2011-08-05 13:17:42 +02:00
Mathias Panzenböck
11c993e9f0
use DATA() macro
2011-08-01 15:33:27 +02:00
Mathias Panzenböck
3b14dc3e94
ByteVector::replace: forgot detach() and opt. when pattern not found
2011-08-01 15:14:58 +02:00
Mathias Panzenböck
ad7645f8e9
ByteVector::replace performance improvements
2011-08-01 04:13:55 +02:00
Lukáš Lalinský
fb2decb7de
Reformatting
2011-07-28 19:16:32 +02:00
Lukáš Lalinský
3a837e7fc7
Reformatting
2011-07-28 19:06:35 +02:00
Lukáš Lalinský
0730076a0f
Merge remote-tracking branch 'gperks/master'
...
Conflicts:
taglib/asf/asfpicture.cpp
taglib/it/itproperties.h
2011-07-28 19:03:46 +02:00
Lukáš Lalinský
364a840d83
Merge remote-tracking branch 'setosha/ASFPicture_warning_fix'
2011-07-28 18:53:57 +02:00
Scott Wheeler
e9cd383139
Merge pull request #14 from sbooth/master
...
Some non-PCM wave files can cause SIG_ARITHMETIC
2011-07-28 05:45:11 -07:00
Stephen F. Booth
a41b32bbb2
Don't crash when wav files have a 0 for bit per channel (sampleWidth)
...
I've seen this in a wav that has an audio format of MP3 (0x55)
2011-07-28 08:36:14 -04:00
Scott Wheeler
98d6b97798
Fix warning
2011-07-27 23:22:23 +02:00
Scott Wheeler
019fe4843f
ByteVector works on chars, not unsigned chars, so there needs to be a cast before the comparison
2011-07-27 23:14:54 +02:00
Scott Wheeler
bb25953767
These methods can't be protected since they're called from IT::File
...
In general this code could use a fair bit of tidying up both stylistically and semantically.
2011-07-27 23:07:38 +02:00
Scott Wheeler
4795831b4a
Fix spelling / formatting in comments.
2011-07-27 23:06:06 +02:00
Graham Perks
19484c059d
Document ENABLE_STATIC_RUNTIME
2011-07-27 14:35:24 -05:00
Graham Perks
10ea76ff11
Add build option for Visual Studio to link with the static runtime (/MT vs /MD), pass -DENABLE_STATIC_RUNTIME=ON to cmake
2011-07-27 14:25:26 -05:00
Graham Perks
5f84bbf61a
Correction to OS X build; include basic Windows build instructions
2011-07-27 10:54:33 -05:00
Graham Perks
8b647e5fa7
Fix for VS2010 which had been throwing out "cannot access protected member declared in class 'TagLib::Mod::Properties'" errors.
2011-07-26 21:45:32 -05:00
Graham Perks
0341079b92
Misc typo corrections
2011-07-26 21:45:28 -05:00
Graham Perks
1a53bfd71a
Example cmake for OS X to build a static library
2011-07-26 11:12:27 -05:00
Graham Perks
6aa41d8180
Updated OS X build instructions
2011-07-25 17:56:42 -05:00
Scott Wheeler
101a624c46
Merge branch 'master' of github.com:taglib/taglib
2011-07-21 00:06:50 +02:00
Lukáš Lalinský
3b4e4357e6
Only include config.h if HAVE_CONFIG_H is defined
2011-07-20 22:06:28 +02:00
Scott Wheeler
3baf0a413d
Missing const
2011-07-18 21:27:59 +02:00
Anton Sergunov
68c6a7da7a
ASFPicture fix warning
...
class/struct thing
Signed-off-by: Anton Sergunov <setosha@gmail.com >
2011-07-01 16:12:04 +07:00
Mathias Panzenböck
2fd10b5fd5
corrected comments
2011-06-28 02:55:03 +02:00
Mathias Panzenböck
a50886c3c7
Merge branch 'master' of https://github.com/taglib/taglib
2011-06-28 01:37:48 +02:00
Mathias Panzenböck
2119494cd1
added uninstall target
2011-06-26 21:58:51 +02:00
Scott Wheeler
843070ba18
Tabs be gone
2011-06-26 21:37:01 +02:00
Mathias Panzenböck
57bf96d169
Merge branch 'master' of https://github.com/taglib/taglib
2011-06-26 20:58:32 +02:00
Lukáš Lalinský
937d69f91d
Fix indentation
2011-06-25 12:17:31 +02:00
Mathias Panzenböck
f3447ae38d
style fixes for enum value names
2011-06-25 01:54:22 +02:00
Mathias Panzenböck
89861cf77a
style fixes: { on same line with if/else/for
2011-06-25 01:10:19 +02:00
Mathias Panzenböck
a04d7d0bbc
Merge branch 'master' of https://github.com/taglib/taglib
...
Conflicts:
taglib/CMakeLists.txt
tests/CMakeLists.txt
2011-06-24 23:59:11 +02:00
Stephen F. Booth
39e8cbbefb
Added sampleFrames() to AIFFProperties and WAVProperties
2011-06-24 10:43:13 -04:00
Lukáš Lalinský
6b063862c3
Remove the old qmake project file, you can use CMake to build a framework now
2011-06-24 09:00:23 +02:00
Lukáš Lalinský
aec8880592
Update INSTALL to not mention the optional file formats and add info about building a framework
2011-06-24 08:59:38 +02:00
Lukáš Lalinský
dd846904cb
Remove the options to disable MP4/ASF support
2011-06-24 08:49:50 +02:00
Mathias Panzenböck
c7fd4cd2fc
IT: the max. 8000 bytes msg. length have to include the NUL
2011-06-24 01:53:20 +02:00
Mathias Panzenböck
57526c6c37
IT: add term. NUL to messages
2011-06-24 01:50:43 +02:00
Mathias Panzenböck
af92db9dc0
IT: unit tests
2011-06-24 01:31:15 +02:00
Mathias Panzenböck
2d6274a36a
Test FLAC: cleanup copied file
2011-06-24 01:21:17 +02:00
Mathias Panzenböck
9c27c45eb8
IT: strings require term. NUL. mod files: tableLength -> lengthInPatterns
...
Also added enums for S3M/IT/XM flags.
2011-06-24 01:11:10 +02:00
Mathias Panzenböck
e71806b6df
IT: volume is only a byte in size
2011-06-23 20:48:04 +02:00
Lukáš Lalinský
0b34d4f8ee
Enable MP4/ASF by default
2011-06-23 20:18:38 +02:00
Mathias Panzenböck
26613473cf
forgot to remove debug code
2011-06-23 20:17:54 +02:00
Mathias Panzenböck
561cfdb0ec
S3M: unit tests and bug fixes (NUL char. is not optional in S3M strings)
2011-06-23 20:08:05 +02:00
Mathias Panzenböck
e810f2f61f
Merge branch 'master' of https://github.com/taglib/taglib
2011-06-23 17:40:36 +02:00
Mathias Panzenböck
7236ef4d0f
S3M+IT: fix reading, IT: untested support for message writing
...
IT: reading was off starting with global volume because of wrong read size.
S3M+IT: correctly read the number of used patterns.
IT: fixed reading of message tag and implemented writing of message tag
(not tested yet).
I also added S3M+IT test files. TODO: Unit tests using them.
2011-06-23 05:41:23 +02:00
Anton Sergunov
b2517aa4a0
default constructor MP4::Tag::Tag()
2011-06-21 00:54:39 +07:00
Mathias Panzenböck
e202c658f0
Merge branch 'master' of https://github.com/taglib/taglib
2011-06-20 14:31:09 +02:00
Wolfgang Plaschg
7448bb353b
Include of "tag_c.h" after system libraries.
2011-06-20 03:08:24 +02:00
Mathias Panzenböck
aeb528ade2
XM: forgot smaple count
2011-06-20 02:31:17 +02:00
Mathias Panzenböck
d1cb8ae09d
IT: support channels property
2011-06-20 02:19:16 +02:00
Mathias Panzenböck
4b44f25048
comments++
2011-06-20 01:05:12 +02:00
Mathias Panzenböck
4b754b1bc6
more correct IT parsing and property naming
2011-06-20 00:43:42 +02:00
Mathias Panzenböck
b3d44394bf
more correct S3M parsing and property naming
2011-06-19 22:46:33 +02:00
Mathias Panzenböck
5477ede3ea
updated comments
2011-06-19 19:37:45 +02:00
Mathias Panzenböck
03534170fa
comments++
2011-06-19 19:35:27 +02:00
Mathias Panzenböck
b30b8c4ab5
IT: no longer allow wrong sample/instrument magic
2011-06-19 06:03:09 +02:00
Mathias Panzenböck
e09c2c5a19
untested(!) comment write support for s3m and it files
2011-06-19 05:42:16 +02:00
Mathias Panzenböck
6afb7c04b3
comment writing support and more tests for mod and xm
2011-06-19 04:27:51 +02:00
Mathias Panzenböck
0143c3ee63
comments++
2011-06-18 04:28:48 +02:00
Mathias Panzenböck
a31b0bcf8c
xm: no \n too much in comment if there are no samples
2011-06-18 03:38:18 +02:00
Mathias Panzenböck
5ad69f6f2a
fixed mod property names and added unit test for xm
2011-06-18 03:31:49 +02:00
Lukáš Lalinský
b63508ec3e
We still need these includes
2011-06-17 15:09:37 +04:00
Mathias Panzenböck
fe356c31b4
added unit test for one flavour of .mod files
2011-06-17 05:18:49 +02:00
Mathias Panzenböck
eec5e33e0d
added check for readOnly in save methods
2011-06-14 15:34:16 +02:00
Mathias Panzenböck
868ce3dd21
added myself to AUTHORS
2011-06-14 15:23:11 +02:00
Mathias Panzenböck
1e6d645ce9
fixed a comment
2011-06-14 03:56:32 +02:00
Mathias Panzenböck
65fb9733b9
added mod (+aliases) to defaultFileExtensions
2011-06-14 03:49:33 +02:00
Mathias Panzenböck
f75f5ac9bb
added .mod file support
2011-06-14 03:47:08 +02:00
Mathias Panzenböck
812826fe3a
Mod::File -> Mod::FileBase
2011-06-14 01:47:07 +02:00
Mathias Panzenböck
3192334006
more indentation fixes
2011-06-14 01:30:54 +02:00
Mathias Panzenböck
9b2bb4af34
code formatting fixes
2011-06-14 01:18:38 +02:00
Mathias Panzenböck
54e9656474
converted tabs to spaces
2011-06-14 01:09:55 +02:00
Mathias Panzenböck
f6dbd32ed3
refactored for ABI compat and write support of some tags of s3m/it/xm files
...
tags that can be written:
* s3m: title
* it: title
* xm: title, trackerName
2011-06-14 00:46:23 +02:00
Mathias Panzenböck
5332fb5cf8
added read-only support for s3m, it and xm
2011-06-13 03:19:21 +02:00
Lukáš Lalinský
c3c88b4f55
Merge remote branch 'lalinsky/abstract-io'
2011-06-09 18:58:45 +02:00
Lukáš Lalinský
8eb32577bd
Merge branch 'abstract-io'
2011-06-09 18:58:05 +02:00
Lukáš Lalinský
0ed2477dfa
Add an empty default implementation of IOStream::clear()
2011-06-09 18:52:48 +02:00
Frank Lai
b3646a0734
Be more careful when parsing Vorbis Comments
2011-06-09 18:44:54 +02:00
Frank Lai
8ed9b0da2c
Support for reading ALAC audio properties
2011-06-09 18:41:43 +02:00
Frank Lai
93564a2daa
ALAC file encoded by iTunes
2011-06-09 18:40:22 +02:00
Lukáš Lalinský
0a790f0017
Add a (failing) test for reading ALAC audio properties
2011-06-08 19:03:43 +02:00
Lukáš Lalinský
a224e7cd6d
Install the new headers
2011-05-28 22:06:41 +02:00
Lukáš Lalinský
088dbfa832
Merge remote branch 'taglib/master' into abstract-io
2011-05-28 22:04:07 +02:00
Stephen F. Booth
a04da3f159
Added read-only support to FileStream
2011-05-28 13:29:06 -04:00
Lukáš Lalinský
dc062a0844
Make RefCounter compile on OS X with the 10.4 SDK
...
The 10.4 SDK defines OSAtomic functions as int32_t, while 10.5 and newer SDKs
define them as volatile int32_t. This caused a compilation error when
compiling against the 10.4 SDK.
I'd have prefered a preprocessor-based solution, but I couldn't find any
macro that says the SDK version, so I copied this cast solution from
Apple's WebKit. I assume then know what they are doing if they have to
workaround their own API. :)
2011-05-15 00:07:29 +02:00
Scott Wheeler
efeccbf726
Don't lead the scanned blocks on save
2011-05-09 19:06:08 +02:00
Lukáš Lalinský
6b7ed4a5d5
Merge pull request #2 from wplaschg/master
...
Added ignore rules for MSVC 2008 build results
2011-05-09 10:02:21 -07:00
Wolfgang Plaschg
adb0984c87
Adding ignore rules for MSVC 2008 build results
2011-05-09 16:23:38 +02:00
Lukáš Lalinský
a38d2b2995
Simplify static builds
2011-05-08 15:57:34 +02:00
Lukáš Lalinský
b5b8387aee
Don't install pkg-config files when building a framework
2011-05-08 15:50:44 +02:00
Lukáš Lalinský
c337694165
Make it possible to build an OS X framework
2011-05-08 15:46:19 +02:00
Lukáš Lalinský
b2e3a477e9
Always make a copy of the ID3v1 genre name strings
...
http://thread.gmane.org/gmane.comp.kde.devel.taglib/1876
2011-05-02 22:41:01 +02:00
Lukáš Lalinský
81734919d2
Add info about BUILD_EXAMPLES to the INSTALL file
2011-04-19 12:45:11 +02:00
Lukáš Lalinský
d03ef3c312
Use the PUBLIC_HEADER property to prepare for building an OS X framework
2011-04-18 16:52:47 +02:00
Lukáš Lalinský
e92ed0a830
Remove unnecessary code from tfile.cpp
2011-04-12 14:35:31 +02:00
Lukáš Lalinský
65ca29b3e2
Add a ByteVector-backed stream class
2011-04-12 14:28:02 +02:00
Lukáš Lalinský
26c130c387
Duplicate contructors of File subclasses to accept IOStream*
2011-04-11 23:31:44 +02:00
Lukáš Lalinský
8b59bb5957
Make it possible to actually pass a IOStream instance to File
2011-04-11 23:15:46 +02:00
Lukáš Lalinský
b53a577e38
Add FileStream as a copy of File's methods
2011-04-11 23:12:58 +02:00
Lukáš Lalinský
0b0cbc2e34
Add an abstract IOStream class
2011-04-11 22:46:56 +02:00
Lukáš Lalinský
4cda0eeb7b
Make it possible to run the test suite out of the source tree
2011-04-11 18:32:40 +02:00
Lukáš Lalinský
2fa8c93776
The website has more up-to-date links
2011-04-09 20:15:00 +02:00
Lukáš Lalinský
266200d77e
Add myself to the AUTHORS file
2011-04-09 20:09:51 +02:00
Lukáš Lalinský
aa84b8b674
Obsolete comment now that we are not in kdesupport
2011-04-09 20:07:15 +02:00
Lukáš Lalinský
ee920a461c
Clean up the library CMakeLists.txt file
2011-04-09 20:05:50 +02:00
Lukáš Lalinský
1596dc7c69
Clean up the main CMakeLists.txt file
2011-04-09 19:51:23 +02:00
Lukáš Lalinský
f3d3af9355
Don't set unnecessary compiler options
2011-04-09 19:42:56 +02:00
Lukáš Lalinský
9653796640
Merge branch 'master' of github.com:taglib/taglib
2011-04-09 19:19:49 +02:00
Lukáš Lalinský
a4a097d2f8
Merge branch 'stable'
2011-04-09 19:16:01 +02:00
Modestas Vainius
d112a68193
Support building documentation out-of-source-dir
2011-04-09 19:15:46 +02:00
Lukáš Lalinský
5eda17aa96
NEWS entries
2011-04-06 00:08:42 +02:00
Lukáš Lalinský
8878c9158c
Upgrade IPLS (2.3) to TIPL (2.4)
2011-04-05 17:08:25 +02:00
Lukáš Lalinský
3715b96477
Protect against incorrect ID3v2 version parameter
2011-04-05 15:36:23 +02:00
Lukáš Lalinský
aa57db3a39
Convert frames TIPL and TMCL (2.4) to IPLS (2.3)
2011-04-05 15:16:17 +02:00
Lukáš Lalinský
f9d38129b8
Merge branch 'master' into id3v23
2011-04-05 14:37:36 +02:00
Lukáš Lalinský
0c6e2a0aa9
NEWS entry
2011-03-30 09:19:25 +02:00
Martijn van Rheenen
e16829190a
Fix DRM detection in WMA files
2011-03-30 09:15:28 +02:00
Lukáš Lalinský
7a6647cb99
Untested version of DRM checking in WMA files
2011-03-29 15:49:24 +02:00
Lukáš Lalinský
97cd58bc65
Check for the presence of the drms atom in MP4 files
2011-03-29 15:41:17 +02:00
M.A. Brand Consulting
8f42d5b594
Make it possible to build a static version of the C bindings
...
https://bugs.kde.org/show_bug.cgi?id=268441
2011-03-19 08:28:35 +01:00
Lukáš Lalinský
158152cb46
Use the same SO versioning as we had with automake/libtool
...
http://article.gmane.org/gmane.comp.kde.devel.taglib/1826
2011-03-19 08:18:34 +01:00
Lukáš Lalinský
f624d6e2af
Don't overwrite fields that already exist
...
We can have multiple fields in the Vorbis Comment (e.g. two artist names),
but TagUnion only takes the first one, so it will effectively strip the
extra fields.
https://bugs.kde.org/show_bug.cgi?id=268854
2011-03-19 07:42:47 +01:00
Lukáš Lalinský
d3e79ddc38
Partial protection against broken WMA files
...
This fixes the problem on the reported file, but in general this code
needs a lot more checks.
https://bugs.kde.org/show_bug.cgi?id=268401
2011-03-19 07:42:23 +01:00
Lukáš Lalinský
71e224fed8
Don't overwrite fields that already exist
...
We can have multiple fields in the Vorbis Comment (e.g. two artist names),
but TagUnion only takes the first one, so it will effectively strip the
extra fields.
https://bugs.kde.org/show_bug.cgi?id=268854
2011-03-19 07:37:28 +01:00
Lukáš Lalinský
80decd737d
Define NOMINMAX so that windows.h doesn't define it's own versions
...
http://article.gmane.org/gmane.comp.kde.devel.taglib/1833
http://www.devx.com/tips/Tip/14540
2011-03-19 07:26:55 +01:00
Lukáš Lalinský
d169a670e0
Merge branch 'master' into id3v23
2011-03-17 09:16:29 +01:00
Scott Wheeler
a6cb74ad5d
Ignore docs and OS X dylibs
2011-03-17 08:01:33 +01:00
Scott Wheeler
27aa8cc293
These aren't needed anymore now that we're not in kdesupport
2011-03-17 07:57:24 +01:00
Lukáš Lalinský
d3df66f196
Convert TDRC to TYER+TDAT+TIME
2011-03-16 22:54:58 +01:00
Lukáš Lalinský
1453a7b157
Clean-up temporary files
2011-03-16 17:19:11 +01:00
Lukáš Lalinský
e8d0551c9a
Simple ID3v2.4 => ID3v2.3 frame migration
2011-03-16 17:14:36 +01:00
Lukáš Lalinský
061b381ea8
Make sure we don't write UTF8 or UTF16BE to ID3v2.3 tags
2011-03-15 21:57:49 +01:00
Lukáš Lalinský
1802237c75
Support for writing structuraly correct ID3v2.3 tags
...
We don't use the tag footer, extended header or unsynchronization, so we
only need to change the frame size format.
Note that this doesn't write correct ID3v2.3 tags, just tags that have
the correct structure. The content is sill incorrect, unless you add
the right frames manually to the tag instance.
2011-03-15 20:50:47 +01:00
Lukáš Lalinský
4bdcc9662e
Partial protection against broken WMA files
...
This fixes the problem on the reported file, but in general this code
needs a lot more checks.
https://bugs.kde.org/show_bug.cgi?id=268401
2011-03-13 21:33:57 +01:00
Lukáš Lalinský
41f1828719
Use the memory barrier variants on OS X
2011-03-12 23:21:54 +01:00
Lukáš Lalinský
223b85d345
Use GCC automic builtins where possible
2011-03-12 23:19:01 +01:00
Lukáš Lalinský
ee49b781eb
Add .gitignore
2011-03-11 15:16:05 +01:00
Lukáš Lalinský
065fcd5077
Merge branch 'release-1.7'
2011-03-11 14:16:11 +01:00
Nick Shaforostoff
38219b88b3
ups, revert my accidentally commited debug output
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1224409 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2011-03-10 17:30:22 +00:00
Nick Shaforostoff
0cdfa793e9
use atomic refcounting on mac and win32, todo for linux
...
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1224407 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
2011-03-10 17:29:30 +00:00