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