Wykres commitów

10 Commity (1c3fc9101a81abc12d3337bc7c09489446732e17)

Autor SHA1 Wiadomość Data
casept 4436e8a5ab Remove dependency on iconv with the help of @mmorton's patches 2017-05-26 21:56:20 -05:00
joshua stein 5cc2ada1a7 update import paths to my fork 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 15ff69e561 Fixes #14 Add tag to tagless file if dirtied 2014-07-10 20:50:35 -04:00
Michael Yang bcd5d72721 Merge pull request #13 from gerow/utf16_comm_write_fix
Fixed the way id3-go writes back comm tags when using utf16
2014-07-05 20:14:40 -04:00
gerow 1b47fc4f6d cleaned up testing of UTF-16 on UnsynchTextFrames fix
Added a new COMM field to test.mp3 in UTF-16 with the Description: "✓"
and text "✓". Opening and closing it two times without a panic should
ensure that it is working.

Also added a few lines to the open test to explicitly test to make sure
that these UTF-16 fields are being read properly.
2014-07-05 18:38:28 -04:00
Michael Yang f3d29e61e5 Add test for readonly 2014-07-04 19:33:47 -04:00
gerow cc69456c06 Fixed the way id3-go writes back comm tags when using utf16
Previously when trying to write a null terminated string it simply wrote
a single 0 byte for the null character. This fails for utf16 where the
null character is two bytes of zeros.

fixed the way that we WriteNullTermString with utf16

Originally this function was just writing a 0x00 byte, which does not
work for utf16.

fixed mistake when merging changes
2014-07-04 18:52:23 -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 6f7743acf9 Add general test 2014-01-09 00:46:17 -05:00