Ben Kurtovic
8bc7ea669d
Improve test coverage; fix some node-related bugs.
* Parameters with non-integer keys can no longer be created with
showkey=False, nor have the value of this attribute be set to False
later.
* Calling Template.remove() with a Parameter object that is not part of
the template now raises ValueError instead of doing nothing.
* Added tests for HTMLEntity._unichr() being called with out-of-range
codepoints.
* Added tests for Tag.__children__() and Tag.__showtree__() involving
attributes that have no values.
il y a 10 ans
Ben Kurtovic
08cafc0576
Raise ParserError for internal problems. Improve coverage. Cleanup.
il y a 10 ans
Ben Kurtovic
c95802f9cc
Allow recursing through everything except the forced type ( fixes #70 )
il y a 10 ans
Ben Kurtovic
b4b62026f8
Update changelog, docs.
il y a 10 ans
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
il y a 10 ans
Ben Kurtovic
2fe8826a9d
Added a script to test for memory leaks in scripts/memtest.py.
il y a 10 ans
Ben Kurtovic
99cf0a4412
Version bump to 0.4.dev.
il y a 10 ans
Ben Kurtovic
9953fd5585
release/0.3.3
il y a 10 ans
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
il y a 10 ans
Ben Kurtovic
cf7ab558bf
Make Wikicode.get_sections() much faster ( closes #63 ).
Patch mostly by @spointy .
il y a 10 ans
Ben Kurtovic
5c5fd6b3cb
Fix a bug involving nested links ( closes #61 and #62 ).
il y a 10 ans
Marcio Faustino
cc02671206
Update changelog to mention support for Python 2.6.
il y a 10 ans
Ben Kurtovic
1946cf621d
Add a temporary skip_style_tags until we resolve some issues.
il y a 11 ans
Ben Kurtovic
8df596ba08
Re-added 'flat' argument to Wikicode.get_sections().
Requested by Σ.
il y a 11 ans
Ben Kurtovic
79bf42df1c
Wikicode.get_sections() now returns sections in the correct order.
Reported by Σ.
il y a 11 ans
Ben Kurtovic
aabe711ee6
Wikicode.matches() can now take a tuple or list.
il y a 11 ans
Ben Kurtovic
38050f6878
C code cleanup and speed improvements.
il y a 11 ans
Ben Kurtovic
cf90557229
Template.has() should be passed ignore_empty=False by default.
**Breaking change**; closes #51 .
il y a 11 ans
Ben Kurtovic
5e6c994c2c
Wikicode.matches() now accepts tuples ( closes #48 )
il y a 11 ans
Ben Kurtovic
e5ad4639ff
Wikicode.i?filter*()'s matches argument now takes functions ( closes #47 )
Bump version to 0.4.dev.
il y a 11 ans
Ben Kurtovic
fd5bfe1671
release/0.3.2
il y a 11 ans
Ben Kurtovic
c14070a99a
Add Template.remove() taking Parameters as arguments to changelog.
il y a 11 ans
Ben Kurtovic
37003d2ed1
Bump version to 0.4.dev and add support for Python 3.2.
il y a 11 ans
Ben Kurtovic
8189e0c143
release/0.3.1
il y a 11 ans
Ben Kurtovic
0e19b20156
release/0.3
il y a 11 ans
Ben Kurtovic
67f1762aa4
Doc updates, and allow passing a starting context to tokenize().
il y a 11 ans
Ben Kurtovic
fff93b7727
Add changelog entries for ExternalLinks.
il y a 11 ans
Ben Kurtovic
a7dda77474
Template.has_param() -> Template.has()
il y a 11 ans
Ben Kurtovic
06efcd0b01
Update changelog re: expanded _do_search() methods ( closes #34 ).
il y a 11 ans
Ben Kurtovic
3e5c41d4dd
Add py3k tokenizer to changelog.
il y a 11 ans
Ben Kurtovic
2f3edde57a
Add a matches() method to Wikicode.
il y a 11 ans
Ben Kurtovic
02e52185f4
Wikicode's filter() methods now passed recursive=True instead of False.
This is a breaking change for those who rely on default behavior.
il y a 11 ans
Ben Kurtovic
4edf9ffad6
Update changelog.
il y a 11 ans
Ben Kurtovic
bee74c0ced
Some doc updates.
il y a 11 ans
Ben Kurtovic
7b6b46da95
Some documentation cleanup.
il y a 11 ans
Ben Kurtovic
58d9194a2c
Version bump for v0.3; fix permissions on compat.py.
il y a 11 ans
Ben Kurtovic
72473b433a
Adding a changelog ( closes #23 )
il y a 11 ans