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.
10 anos atrás
Ben Kurtovic
08cafc0576
Raise ParserError for internal problems. Improve coverage. Cleanup.
10 anos atrás
Ben Kurtovic
51df09ccf0
Really minor documentation fixes.
10 anos atrás
Ben Kurtovic
c95802f9cc
Allow recursing through everything except the forced type ( fixes #70 )
10 anos atrás
Ben Kurtovic
b4b62026f8
Update changelog, docs.
10 anos atrás
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
10 anos atrás
Ben Kurtovic
2fe8826a9d
Added a script to test for memory leaks in scripts/memtest.py.
10 anos atrás
Ben Kurtovic
99cf0a4412
Version bump to 0.4.dev.
10 anos atrás
Ben Kurtovic
9953fd5585
release/0.3.3
10 anos atrás
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
10 anos atrás
Ben Kurtovic
cf7ab558bf
Make Wikicode.get_sections() much faster ( closes #63 ).
Patch mostly by @spointy .
10 anos atrás
Ben Kurtovic
5c5fd6b3cb
Fix a bug involving nested links ( closes #61 and #62 ).
10 anos atrás
Marcio Faustino
cc02671206
Update changelog to mention support for Python 2.6.
10 anos atrás
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
11 anos atrás
Ben Kurtovic
1946cf621d
Add a temporary skip_style_tags until we resolve some issues.
11 anos atrás
Ben Kurtovic
8df596ba08
Re-added 'flat' argument to Wikicode.get_sections().
Requested by Σ.
11 anos atrás
Ben Kurtovic
79bf42df1c
Wikicode.get_sections() now returns sections in the correct order.
Reported by Σ.
11 anos atrás
Ben Kurtovic
aabe711ee6
Wikicode.matches() can now take a tuple or list.
11 anos atrás
Ben Kurtovic
38050f6878
C code cleanup and speed improvements.
11 anos atrás
Ben Kurtovic
cf90557229
Template.has() should be passed ignore_empty=False by default.
**Breaking change**; closes #51 .
11 anos atrás
Ben Kurtovic
5e6c994c2c
Wikicode.matches() now accepts tuples ( closes #48 )
11 anos atrás
Ben Kurtovic
e5ad4639ff
Wikicode.i?filter*()'s matches argument now takes functions ( closes #47 )
Bump version to 0.4.dev.
11 anos atrás
Ben Kurtovic
fd5bfe1671
release/0.3.2
11 anos atrás
Ben Kurtovic
c14070a99a
Add Template.remove() taking Parameters as arguments to changelog.
11 anos atrás
Ben Kurtovic
37003d2ed1
Bump version to 0.4.dev and add support for Python 3.2.
11 anos atrás
Ben Kurtovic
8189e0c143
release/0.3.1
11 anos atrás
Ben Kurtovic
0e19b20156
release/0.3
11 anos atrás
Ben Kurtovic
67f1762aa4
Doc updates, and allow passing a starting context to tokenize().
11 anos atrás
Ben Kurtovic
fff93b7727
Add changelog entries for ExternalLinks.
11 anos atrás
Ben Kurtovic
a7dda77474
Template.has_param() -> Template.has()
11 anos atrás
Ben Kurtovic
06efcd0b01
Update changelog re: expanded _do_search() methods ( closes #34 ).
11 anos atrás
Ben Kurtovic
3e5c41d4dd
Add py3k tokenizer to changelog.
11 anos atrás
Ben Kurtovic
2f3edde57a
Add a matches() method to Wikicode.
11 anos atrás
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.
11 anos atrás
Ben Kurtovic
4edf9ffad6
Update changelog.
11 anos atrás
Ben Kurtovic
bee74c0ced
Some doc updates.
11 anos atrás
Ben Kurtovic
7b6b46da95
Some documentation cleanup.
11 anos atrás
Ben Kurtovic
58d9194a2c
Version bump for v0.3; fix permissions on compat.py.
11 anos atrás
Ben Kurtovic
72473b433a
Adding a changelog ( closes #23 )
11 anos atrás
Ben Kurtovic
d5699f7d23
Add note about vcvarsall.bat error ( #26 , closes #32 )
11 anos atrás
Kunal Mehta
9c7517b22a
Link to mediawiki.org instead of sf.net
11 anos atrás
Kunal Mehta
b0e3cd9cae
Fix Pywikipedia references in documentation
11 anos atrás
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
12 anos atrás
Ben Kurtovic
146d1fd006
Fix a bug in rendering Tags; attrs->attributes; update documentation.
12 anos atrás
Ben Kurtovic
e0660f8bc3
Committing this C work for now.
12 anos atrás
Ben Kurtovic
03120bc97e
Version bump for 0.2.dev; fix a documentation bug.
12 anos atrás
Ben Kurtovic
19da4d2144
release/0.1.1
12 anos atrás
Ben Kurtovic
aa29a8bd28
Wikilinks in builder; some additions; cleanup.
12 anos atrás
Ben Kurtovic
ef0ed63e50
Properly handle newlines in template names with named parameters.
12 anos atrás
Ben Kurtovic
7e26ddf6f5
Some cleanup, adjustments; add dist to .gitignore.
12 anos atrás