Tsuda Kageyu
781aa05f0e
Merge ByteVector improvement made in pull request #122
2013-04-11 03:52:17 +09:00
Tsuda Kageyu
2aaf41e0bb
Merge pull request #119 from TsudaKageyu/iterator
...
Avoid possible overruns of iterators
2013-04-02 17:40:33 -07:00
Tsuda Kageyu
27115557a0
Avoid possible iterators' out-of-range
2013-04-03 09:21:48 +09:00
Tsuda Kageyu
86cee56f74
Merge pull request #118 from TsudaKageyu/fix-compile
...
Fix a compilation error
2013-03-24 14:18:49 -07:00
Tsuda Kageyu
843a12a0c6
Fix a compilation error
2013-03-25 06:13:07 +09:00
Tsuda Kageyu
a0e8963fa0
Merge pull request #117 from TsudaKageyu/win32-lib
...
Add a required target_link_libraries in Win32
2013-03-24 13:51:21 -07:00
Tsuda Kageyu
265013ef5b
Add a required target_link_libraries in Win32
2013-03-25 05:44:57 +09:00
Tsuda Kageyu
39e02ad21b
Added myself to AUTHORS
2013-03-24 01:15:25 +09:00
Tsuda Kageyu
fc2b69a81e
Merge pull request #114 from TsudaKageyu/size_t
...
Change the size type of containers from uint to size_t
2013-03-23 02:49:07 -07:00
Tsuda Kageyu
1618833a6b
Fix a compilation error
2013-03-23 13:58:44 +09:00
Tsuda Kageyu
56c85a2d68
Change the size type of containers from uint to size_t
2013-03-23 13:42:46 +09:00
Tsuda Kageyu
83b6fdef72
Merge pull request #113 from TsudaKageyu/fix-ulong
...
Fix uses of ulong where 32-bit integers are expected
2013-03-21 19:27:31 -07:00
Tsuda Kageyu
cd082cd8e3
Fix uses of ulong where 32-bit integers are expected
2013-03-22 11:17:10 +09:00
Tsuda Kageyu
b744f66819
Merge pull request #112 from TsudaKageyu/string-data
...
Avoid resizing a buffer frequently in String::data()
2013-03-21 17:06:17 -07:00
Tsuda Kageyu
2ed7a59d95
Avoid resizing buffer frequently in String::data()
2013-03-22 08:58:38 +09:00
Tsuda Kageyu
7d5ce5624a
Merge pull request #111 from TsudaKageyu/null
...
Make String:null and ByteVector::null const.
2013-03-21 10:15:23 -07:00
Tsuda Kageyu
e93696f573
Make String:null and ByteVector::null const.
2013-03-22 01:43:46 +09:00
Tsuda Kageyu
914e5f9fd8
Merge pull request #110 from TsudaKageyu/byteswap
...
Refector ByteVector
2013-03-21 04:09:06 -07:00
Tsuda Kageyu
b1dcdc5bd8
Refector ByteVector
2013-03-21 19:50:35 +09:00
Tsuda Kageyu
b4df82a0b0
Merge pull request #109 from TsudaKageyu/taglib2
...
Fix GCC warnings in FileStream
2013-03-21 02:39:17 -07:00
Tsuda Kageyu
be081d23d3
Fix GCC warnings in FileStream
2013-03-21 18:29:24 +09:00
Tsuda Kageyu
0acc22e84b
Merge pull request #108 from TsudaKageyu/sizeof_wchar_t
...
Detect sizeof(wchar_t) at compile time
2013-03-20 22:54:28 -07:00
Tsuda Kageyu
62efb9ff17
Detect sizeof(wchar_t) at compile time
2013-03-21 14:43:03 +09:00
Tsuda Kageyu
ca5ce53b1e
Merge pull request #107 from TsudaKageyu/endian-detect
...
Detect UTF-16 byte order at compile time
2013-03-20 18:28:27 -07:00
Tsuda Kageyu
8cae2b9f28
Detect UTF-16 byte order at compile time
2013-03-21 10:21:52 +09:00
Tsuda Kageyu
d719eb0ac6
Merge pull request #105 from TsudaKageyu/shared_ptr
...
Replace RefCounter with std::shared_ptr if possible
2013-03-20 18:03:57 -07:00
Tsuda Kageyu
cab68e2152
Stop determining whether to enable C++11 features at compile time
2013-03-20 08:39:13 +09:00
Tsuda Kageyu
96cf908232
Replace RefCounter with std::shared_ptr if possible
2013-03-19 21:36:08 +09:00
Tsuda Kageyu
42a74babb5
Merge pull request #103 from TsudaKageyu/string-improvement
...
Some improvements of String
2013-03-19 01:12:25 -07:00
Tsuda Kageyu
4e05923479
Removed null termination from return value of String::data()
2013-03-18 13:55:49 +09:00
Tsuda Kageyu
c86ea7bdff
Use the standard library to convert between UTF-8 and UTF-16 where possible
2013-03-18 13:34:20 +09:00
Tsuda Kageyu
a842220fe6
Revert "Use the standard library to convert between UTF-8 and UTF-16 where possible"
...
This reverts commit 19ce4d0dfa8c13255f56342f8c179c6a601d9b2d.
2013-03-18 06:08:05 +09:00
Tsuda Kageyu
19ce4d0dfa
Use the standard library to convert between UTF-8 and UTF-16 where possible
2013-03-18 05:56:48 +09:00
Tsuda Kageyu
6e3639de9e
Avoid creating new String object when comparing
2013-03-18 02:51:11 +09:00
Tsuda Kageyu
0792eedd12
Fix UTF-16 BOM detection
2013-03-17 20:47:58 +09:00
Tsuda Kageyu
86b7cabf44
Fix UTF-16 decoding where wchar_t is not 16-bit
2013-03-17 20:27:32 +09:00
Tsuda Kageyu
de19ad72ab
Fixed CPU endian detection
2013-03-17 19:40:01 +09:00
Tsuda Kageyu
9b19453059
Some improvements of String
2013-03-17 12:51:00 +09:00
Tsuda Kageyu
dbd7c151d6
Fix buffer overrun
2013-03-17 12:41:47 +09:00
Tsuda Kageyu
d3af7c0b02
Fix VC++ x64 warnings
2013-03-16 00:07:01 +09:00
Tsuda Kageyu
64447598e5
Made the destructor of StringHandler virtual.
2013-02-23 00:36:41 +09:00
Tsuda Kageyu
fba8f42588
Fix some VC spesific warnings
2013-02-22 19:29:02 +09:00
Michael Helmling
5578843220
Fixed a typo.
2013-01-03 22:54:12 +01:00
Michael Helmling
90fd336a22
Add TagUnion::removeUnsupportedProperties, further reducing SLOCs. :-)
2012-12-27 13:32:01 +01:00
Michael Helmling
fa38c805f5
Implemented TagUnion::properties() and made Tag::*properties* virtual.
...
This allows to remove several default implementations in types using
TagUnions.
2012-12-27 13:19:11 +01:00
Michael Helmling
b60b444d7b
Merge branch 'master' into taglib2
...
Conflicts:
taglib/toolkit/tfile.h
2012-12-27 11:55:12 +01: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 6e3391a846655d898280c60aa52f6b27164412c9. 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