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 година