Nigel Tao
42ed1ad4a6
html: small documentation fix.
...
R=rsc
CC=golang-dev
https://golang.org/cl/4169058
2011-02-18 10:35:49 +11:00
Nigel Tao
a5ff8ad9db
html: tokenize HTML comments.
...
I'm not sure if it's 100% correct wrt the HTML5 specification,
but the test suite has plenty of HTML comment test cases, and
we'll shake out any tokenization bugs as the parser improves its
coverage.
R=gri
CC=golang-dev
https://golang.org/cl/4186055
2011-02-17 10:45:30 +11:00
Nigel Tao
fec6ab9726
html: parse "<h1>foo<h2>bar".
...
R=gri
CC=golang-dev
https://golang.org/cl/3571043
2010-12-15 11:39:56 +11:00
Nigel Tao
71bd053ada
html: parse <table><tr><td> tags.
...
Also, shorten fooInsertionMode to fooIM.
R=gri
CC=golang-dev
https://golang.org/cl/3504042
2010-12-10 12:20:14 +11:00
Nigel Tao
49014c5b12
html: handle unexpected EOF during parsing.
...
This lets us parse HTML like "<html>foo".
R=gri
CC=golang-dev
https://golang.org/cl/3460043
2010-12-08 08:59:20 +11:00
Nigel Tao
688a83128d
html: move the sanity checking of the entity map from runtime
...
(during init) to test-time (via gotest).
R=gri
CC=golang-dev
https://golang.org/cl/3466044
2010-12-08 07:55:03 +11:00
Ryan Hitchman
f503e26379
html: unescape numeric entities, and complete the named entities table, including two-character entities.
...
Fixes #1233 .
R=nigeltao
CC=golang-dev
https://golang.org/cl/3445041
2010-12-07 12:13:47 +11:00
Nigel Tao
08a47d6f60
html: first cut at a parser.
...
R=gri
CC=golang-dev
https://golang.org/cl/3355041
2010-12-07 12:02:36 +11:00
Adam Langley
3cb4bdb9ce
utf8: make EncodeRune's destination the first argument.
...
R=r
CC=golang-dev
https://golang.org/cl/3364041
2010-11-30 16:59:43 -05:00
Russ Cox
69c4e9380b
use append
...
R=gri, r, r2
CC=golang-dev
https://golang.org/cl/2743042
2010-10-27 19:47:23 -07:00
Robert Griesemer
3478891d12
gofmt -s -w src misc
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/2662041
2010-10-22 10:06:33 -07:00
Russ Cox
7c9f0f0109
html: disable print
...
Everything is incomplete.
Let's not make noise like this a habit.
R=nigeltao_gnome
CC=golang-dev
https://golang.org/cl/2272041
2010-09-23 22:05:42 -04:00
Russ Cox
da392d9136
build: no required environment variables
...
R=adg, r, PeterGo
CC=golang-dev
https://golang.org/cl/1942044
2010-08-18 10:08:49 -04:00
Kyle Consalus
8fcdc6a1e2
Small performance improvements to the HTML tokenizer based on your 'TODO's.
...
R=nigeltao_golang
CC=golang-dev
https://golang.org/cl/1941042
2010-08-12 09:45:34 +10:00
Nigel Tao
56b989f1b9
First cut of an HTML tokenizer (and eventually a parser).
...
R=r, rsc, gri, rsc1
CC=golang-dev
https://golang.org/cl/1814044
2010-08-10 16:08:21 +10:00
Nigel Tao
43b3a247d3
html: sync testdata/webkit to match WebKit tip.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1701041
2010-06-15 09:07:47 +10:00
Nigel Tao
64784801cd
HTML5 parser test data from WebKit.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1559041
2010-06-04 17:47:22 -07:00