<feed xmlns='http://www.w3.org/2005/Atom'>
<title>html5tokenizer/tests, branch v0.5.0</title>
<subtitle>Fork of html5gum with code span support</subtitle>
<id>http://git.push-f.com/html5tokenizer/atom/tests?h=v0.5.0</id>
<link rel='self' href='http://git.push-f.com/html5tokenizer/atom/tests?h=v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/'/>
<updated>2023-08-19T11:53:58Z</updated>
<entry>
<title>feat: introduce NaiveParser</title>
<updated>2023-08-19T11:53:58Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-12T10:58:08Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=0d9cd9ed44b676ccd4991cea27dc620b94ebe7e7'/>
<id>urn:sha1:0d9cd9ed44b676ccd4991cea27dc620b94ebe7e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>break!: remove DefaultEmitter from public API</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-19T11:17:30Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=b125bec9914bd211d77719bd60bc5a23bd9db579'/>
<id>urn:sha1:b125bec9914bd211d77719bd60bc5a23bd9db579</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: link multipage version of HTML spec</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-18T14:54:43Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=4682f104ea24fc257c22dc12db1a3dad1323662a'/>
<id>urn:sha1:4682f104ea24fc257c22dc12db1a3dad1323662a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: switch from pretty_assertions to similar-asserts</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-18T14:43:03Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=0c495ba984436cccc6caeed66639a2b61095dbad'/>
<id>urn:sha1:0c495ba984436cccc6caeed66639a2b61095dbad</id>
<content type='text'>
In the next commit I'm adding a test that compares the content
of files and pretty_assertions doesn't omit large portions
of unchanged lines in its diff[1] (contrary to similar-asserts).

(Sidenote: We already depend on similar via insta.)

[1]: https://github.com/rust-pretty-assertions/rust-pretty-assertions/issues/114
</content>
</entry>
<entry>
<title>break!: stop abusing Display for Error codes</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-17T16:07:32Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=11316f041985345dd3a712d14bea749790f937a4'/>
<id>urn:sha1:11316f041985345dd3a712d14bea749790f937a4</id>
<content type='text'>
Display impls should return human-readable strings. After
this commit we're able to introduce a proper Display impl
in the future without that being a breaking change.
</content>
</entry>
<entry>
<title>feat!: add span and offsets to Doctype</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-17T15:25:32Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=378662fa52bbc3e9e4a210f649093dcdadf51afa'/>
<id>urn:sha1:378662fa52bbc3e9e4a210f649093dcdadf51afa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: report value offset/span as None for the empty attr syntax</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-16T16:39:05Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=1edeab2b7b7d039fd9dd83bc14255bddff47618c'/>
<id>urn:sha1:1edeab2b7b7d039fd9dd83bc14255bddff47618c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>break!: introduce AttributeMap</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-16T07:45:18Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=65aca9cbf0318bd3a2f936641b4f5bc3729c98c2'/>
<id>urn:sha1:65aca9cbf0318bd3a2f936641b4f5bc3729c98c2</id>
<content type='text'>
This has a number of benefits:

* it hides the implementation of the map

* it hides the type used for the map values
  (which lets us e.g. change name_span to name_offset while still
  being able to provide a convenient `Attribute::name_span` method.)

* it lets us provide convenience impls for the map
  such as `FromIterator&lt;(String, String)&gt;`
</content>
</entry>
<entry>
<title>feat!: add all-inclusive spans to tags</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-16T05:46:50Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=a48ddc21a26f394e077e7bd80ef96b2c281e7730'/>
<id>urn:sha1:a48ddc21a26f394e077e7bd80ef96b2c281e7730</id>
<content type='text'>
Also more performant since we no longer have to update
the name span on every Emitter::push_tag_name call.
</content>
</entry>
<entry>
<title>fix: fix lots of position off-by-ones</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-17T14:12:51Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=cb4e9cf7cfc1612c67f16bfabadbdf442cd380fe'/>
<id>urn:sha1:cb4e9cf7cfc1612c67f16bfabadbdf442cd380fe</id>
<content type='text'>
Previously the PosTrackingReader always mysteriously subtracted 1
from the current position ... this wasn't sound at all ... the machine
just happens to often call `Tokenizer::unread_char` ... but not always.
E.g. for proper comments it didn't which resulted in their offset and
spans being off-by-one, which is fixed by this commit (see test_spans.rs).
</content>
</entry>
</feed>
