Wykres commitów

30 Commity (master)

Autor SHA1 Wiadomość Data
joshua stein 1c3fc9101a don't trust sizes of existing frames, re-calculate
also write new text strings for toc/chap in utf-16
2017-05-30 20:36:08 -05:00
casept 4436e8a5ab Remove dependency on iconv with the help of @mmorton's patches 2017-05-26 21:56:20 -05:00
joshua stein db0dbebd68 add support for deleting a single frame 2017-05-26 21:56:20 -05:00
Michael Yang 0456e6a0ea Fix null termination on image frames 2017-05-26 21:56:19 -05:00
Thijs van Dijk 6e8ffc90d8 Preserve frame order
Change the `frames` field of a v2 `Tag` from a map to a slice.
This way, frames are written to the file in the same order as you set
them from your code.
2017-05-26 21:56:19 -05:00
joshua stein 0a10a3fd6e WXXX frames should be parsed as DescTextFrame 2017-05-26 21:56:19 -05:00
joshua stein 16949dffd5 add support for reading and writing CHAP and CTOC frames 2017-05-26 21:56:19 -05:00
Michael Yang b2f5be6a84 Set UTF8 to default for convenience methods. Closes #22 2015-11-30 19:57:16 -05:00
Xavier Henner d0724e417d Add support for iTunes TCMP Frame 2014-12-27 14:46:10 +01:00
Michael Yang 6efa87ae15 Fix sizes affected by encoding 2014-07-04 21:24:50 -04:00
Michael Yang 8b38aba2a1 Fix EncodedDiff parameter order 2014-07-04 21:23:35 -04:00
Michael Yang bb6fdce02f Fix encoding test 2014-07-04 21:20:09 -04:00
Michael Yang 2fa59701da Add dirty flag to Tagger 2014-07-04 19:33:47 -04:00
Jeremy Stephens e92e859664 Fix UnsynchTextFrame byte format
- change encodedBytes.Reader's ReadNullTermString behavior to strip off
  null byte(s)
- add WriteNullTermString function to encodedBytes.Writer
- include NullLength information in encodingbytes.EncodingMap
- increase size of UnsynchTextFrame by the null length of the encoding
- automatically null-terminate description string in
  UnsynchTextFrame.Bytes()
2014-05-16 14:42:38 -05:00
Michael Yang 0351711803 Fix flag truth value issue 2014-02-04 15:11:35 -05:00
Michael Yang 60d6959198 Add utility for flag bytes 2014-01-24 23:34:42 -05:00
Michael Yang e6fdcb2297 Clean tag and frame header bytes methods 2014-01-19 11:06:29 -05:00
Michael Yang 1052d2f5ca Fix seeker position after tag parse 2014-01-18 08:06:54 -05:00
Michael Yang 3dac62c7d0 Create new frame on common map types if none exist 2014-01-17 17:36:50 -05:00
Michael Yang 93894f2ae9 Change common map type from string to FrameType 2014-01-17 17:36:29 -05:00
Michael Yang e326fd920b Change AddFrame to variadic AddFrames method 2014-01-17 17:35:53 -05:00
Michael Yang f5a19a4cae Add identification frame 2014-01-16 12:58:22 -05:00
Michael Yang 5ff216d24d Remove redundant type cast 2014-01-16 11:50:30 -05:00
Michael Yang df4dab050b Correct int32 types to uint32 2014-01-15 21:03:03 -05:00
Michael Yang bd8bfe8f50 Improve seek to end of tag 2014-01-14 13:17:35 -05:00
Michael Yang 9fd9213026 Subpackage encoding and bytes functions 2014-01-12 12:34:04 -05:00
Michael Yang aa09573f06 Add NewTag function 2014-01-11 22:16:34 -05:00
Michael Yang e9228d9daa Replace Header interface with renamed Head struct 2014-01-10 15:00:16 -05:00
Michael Yang 8205230c3e Parse header flags 2014-01-10 00:43:42 -05:00
Michael Yang 9ee5a6a8ec Subpackage v2 2014-01-07 23:43:27 -05:00