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