]> Cypherpunks repositories - gostls13.git/commit
html: move the HTML parser to an exp/html package. The parser is a
authorNigel Tao <nigeltao@golang.org>
Tue, 24 Jan 2012 23:54:59 +0000 (10:54 +1100)
committerNigel Tao <nigeltao@golang.org>
Tue, 24 Jan 2012 23:54:59 +0000 (10:54 +1100)
commit324513bc5f1aa44685e547fec5e04fd0b2c8af40
treef5eb5d73fac8b6e8111f07e04ad93fb07c3193a1
parent66599c40709cb74da2e3ae243e1f42ac9bacf263
html: move the HTML parser to an exp/html package. The parser is a
work in progress, and we are not ready to freeze its API for Go 1.

Package html still exists, containing just two functions: EscapeString
and UnescapeString.

Both the packages at exp/html and html are "package html". The former
is a superset of the latter.

At some point in the future, the exp/html code will move back into
html, once we have finalized the parser API.

R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/5571059
64 files changed:
src/pkg/Makefile
src/pkg/exp/html/Makefile [new file with mode: 0644]
src/pkg/exp/html/const.go [moved from src/pkg/html/const.go with 100% similarity]
src/pkg/exp/html/doc.go [moved from src/pkg/html/doc.go with 100% similarity]
src/pkg/exp/html/doctype.go [moved from src/pkg/html/doctype.go with 100% similarity]
src/pkg/exp/html/entity.go [new file with mode: 0644]
src/pkg/exp/html/entity_test.go [new file with mode: 0644]
src/pkg/exp/html/escape.go [new file with mode: 0644]
src/pkg/exp/html/foreign.go [moved from src/pkg/html/foreign.go with 100% similarity]
src/pkg/exp/html/node.go [moved from src/pkg/html/node.go with 100% similarity]
src/pkg/exp/html/parse.go [moved from src/pkg/html/parse.go with 100% similarity]
src/pkg/exp/html/parse_test.go [moved from src/pkg/html/parse_test.go with 100% similarity]
src/pkg/exp/html/render.go [moved from src/pkg/html/render.go with 100% similarity]
src/pkg/exp/html/render_test.go [moved from src/pkg/html/render_test.go with 100% similarity]
src/pkg/exp/html/testdata/webkit/README [moved from src/pkg/html/testdata/webkit/README with 100% similarity]
src/pkg/exp/html/testdata/webkit/adoption01.dat [moved from src/pkg/html/testdata/webkit/adoption01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/adoption02.dat [moved from src/pkg/html/testdata/webkit/adoption02.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/comments01.dat [moved from src/pkg/html/testdata/webkit/comments01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/doctype01.dat [moved from src/pkg/html/testdata/webkit/doctype01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/entities01.dat [moved from src/pkg/html/testdata/webkit/entities01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/entities02.dat [moved from src/pkg/html/testdata/webkit/entities02.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/html5test-com.dat [moved from src/pkg/html/testdata/webkit/html5test-com.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/inbody01.dat [moved from src/pkg/html/testdata/webkit/inbody01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/isindex.dat [moved from src/pkg/html/testdata/webkit/isindex.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat [moved from src/pkg/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/pending-spec-changes.dat [moved from src/pkg/html/testdata/webkit/pending-spec-changes.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/plain-text-unsafe.dat [moved from src/pkg/html/testdata/webkit/plain-text-unsafe.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/scriptdata01.dat [moved from src/pkg/html/testdata/webkit/scriptdata01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/scripted/adoption01.dat [moved from src/pkg/html/testdata/webkit/scripted/adoption01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/scripted/webkit01.dat [moved from src/pkg/html/testdata/webkit/scripted/webkit01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tables01.dat [moved from src/pkg/html/testdata/webkit/tables01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests1.dat [moved from src/pkg/html/testdata/webkit/tests1.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests10.dat [moved from src/pkg/html/testdata/webkit/tests10.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests11.dat [moved from src/pkg/html/testdata/webkit/tests11.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests12.dat [moved from src/pkg/html/testdata/webkit/tests12.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests14.dat [moved from src/pkg/html/testdata/webkit/tests14.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests15.dat [moved from src/pkg/html/testdata/webkit/tests15.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests16.dat [moved from src/pkg/html/testdata/webkit/tests16.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests17.dat [moved from src/pkg/html/testdata/webkit/tests17.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests18.dat [moved from src/pkg/html/testdata/webkit/tests18.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests19.dat [moved from src/pkg/html/testdata/webkit/tests19.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests2.dat [moved from src/pkg/html/testdata/webkit/tests2.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests20.dat [moved from src/pkg/html/testdata/webkit/tests20.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests21.dat [moved from src/pkg/html/testdata/webkit/tests21.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests22.dat [moved from src/pkg/html/testdata/webkit/tests22.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests23.dat [moved from src/pkg/html/testdata/webkit/tests23.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests24.dat [moved from src/pkg/html/testdata/webkit/tests24.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests25.dat [moved from src/pkg/html/testdata/webkit/tests25.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests26.dat [moved from src/pkg/html/testdata/webkit/tests26.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests3.dat [moved from src/pkg/html/testdata/webkit/tests3.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests4.dat [moved from src/pkg/html/testdata/webkit/tests4.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests5.dat [moved from src/pkg/html/testdata/webkit/tests5.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests6.dat [moved from src/pkg/html/testdata/webkit/tests6.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests7.dat [moved from src/pkg/html/testdata/webkit/tests7.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests8.dat [moved from src/pkg/html/testdata/webkit/tests8.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests9.dat [moved from src/pkg/html/testdata/webkit/tests9.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tests_innerHTML_1.dat [moved from src/pkg/html/testdata/webkit/tests_innerHTML_1.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/tricky01.dat [moved from src/pkg/html/testdata/webkit/tricky01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/webkit01.dat [moved from src/pkg/html/testdata/webkit/webkit01.dat with 100% similarity]
src/pkg/exp/html/testdata/webkit/webkit02.dat [moved from src/pkg/html/testdata/webkit/webkit02.dat with 100% similarity]
src/pkg/exp/html/token.go [moved from src/pkg/html/token.go with 100% similarity]
src/pkg/exp/html/token_test.go [moved from src/pkg/html/token_test.go with 100% similarity]
src/pkg/html/Makefile
src/pkg/html/escape.go