move things to trunk/

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4044
implement named entities in another way based on code from Matt McDonald

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4045
fix markupDeclarationOpenState and enhance bogusCommentState based on code from Matt McDonald. also fix CommentToken to accept a single argument

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4046
implement "error-free DoctypeToken"

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4047
attempt at finishing closeTagOpenState

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4048
make sure the second part of the closeTagOpenState is actually used

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4049
remove duplicate attributes but don't throw a parse error for them yet and fix assertions, assert throws on False, not True. Also, now pass a dict instead of list of attributes to the parse and don't pass such a thing for end tags.

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4050
Update to new interface for processEndTag

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4051
add return True to bogusCommentState (thanks Mark!) and implement leaving the attributeNameState to report parse errors for duplicate attributes

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4052
simplify attributeNameState based on a suggestion from Mark

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4053
make mockParser.py working when you execute it and update the testfile and fix a few bugs in the tokenizer

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4054
Initial proof of concept

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4055
Test files for UTF-8 and US-ASCII encodings

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4056
make sure we actually switch to the attributeName state and some smaller fixes. also change the testcase

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4057
make number entities work

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4058
more fixes to entities and fix doctypes

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4059
allow mockParser to accept filename from the command line

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4060
Added functionality to read the whole file, keep track of line and column numbers (except when unconsuming) and made use of an EncodedFile wrapper for reading the file.

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4061
fix windows1252 entities

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4062
remove the entities folder and fix the "windows trick" because it was broken

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%4063