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