Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
hace 2 años
Ben Kurtovic
297bcb0cee
Move mwparserfromhell to src/ dir
hace 3 años
Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
hace 3 años
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
hace 3 años
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
hace 4 años
Yuri Astrakhan
e66a2db0ed
add missing public items to __all__
Added a few more public classes, and sorted the __all__ value.
The Attribute and Parameter classes are not included as they can
be imported from the `mwparserfromhell.nodes.extras` without
linter complaining. They could be added to this __all__ too.
hace 4 años
Ben Kurtovic
708bee59e1
Minor cleanup
hace 5 años
Ben Kurtovic
68ded2f890
Add keep_template_params to Wikicode.strip_code ( #175 )
hace 7 años
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
hace 8 años
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
hace 9 años
Ben Kurtovic
87e0079512
Take proper advantage of Sphinx's default domains.
hace 9 años
Ben Kurtovic
08cafc0576
Raise ParserError for internal problems. Improve coverage. Cleanup.
hace 10 años
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
hace 10 años
Ben Kurtovic
99d433c2d5
Change protocol for Node iteration; rename __iternodes__ to __children__.
hace 10 años
Ben Kurtovic
066049b46a
Update email address.
hace 10 años
Ben Kurtovic
8fe8b1fef5
Implement ExternalLinks as tokens and in the builder.
hace 10 años
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
hace 11 años
Ben Kurtovic
aa29a8bd28
Wikilinks in builder; some additions; cleanup.
hace 11 años
Ben Kurtovic
2cfb097342
Comment class for <!-- comments -->; implement in builder.
hace 11 años
Ben Kurtovic
b3bfe68cd8
Start Argument node type, implement argument in builder ( #4 ).
hace 11 años
Ben Kurtovic
816207bb5a
Simplify docs massively.
hace 11 años
Ben Kurtovic
0d224e1a63
Document mwparserfromhell.nodes, Node, Heading, and HTMLEntity.
hace 11 años
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
hace 11 años
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
hace 11 años
Ben Kurtovic
33acb3eea3
Starting main parser: Parser, Tokens, Tokenizer, Builder, BuildStack.
hace 11 años
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
hace 11 años
Ben Kurtovic
9355f22d22
Implement interface for __showtree__.
Some cleanup and import fixes.
hace 11 años
Ben Kurtovic
c3ee6c919d
Implementing __iternodes__ protocol.
hace 11 años
Ben Kurtovic
253c812fb3
Implement __strip__ API for Wikicode.
hace 11 años
Ben Kurtovic
fca7e9dd80
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
hace 11 años
Ben Kurtovic
064b258141
Inherit StringMixIn method documentation from unicode.
Also reorder imports in nodes.__init__ to fix a minor bug.
hace 11 años
Ben Kurtovic
c47cbb42e9
HTMLEntity; strip_code(); iterators for _nodify(); unicode in StringMixIn's MRO
hace 12 años
Ben Kurtovic
e4fd6ef127
Updating with a more logical project structure.
hace 12 años
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
hace 12 años
Ben Kurtovic
9d1e77000c
A bunch of updates from the past weeks.
hace 12 años
Ben Kurtovic
a880ff8bf2
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
hace 12 años
Ben Kurtovic
ce8adf4b2e
Initial commit
hace 12 años