Ben Kurtovic
7a30e47f76
Some improvements to whitespace recognition; unit tests ( #185 ).
vor 7 Jahren
Ben Kurtovic
cdc97f6f29
Version bump for 0.6 [ci skip]
vor 7 Jahren
Ben Kurtovic
3ffc13bfd4
release/0.5
vor 7 Jahren
Ben Kurtovic
cd4f90e663
Fix a rare parsing bug involving nested broken tags.
vor 7 Jahren
Ben Kurtovic
8a9c9224be
Speed up parsing deeply nested syntax by caching bad routes ( fixes #42 )
Also removed the max cycles stop-gap, allowing much more complex pages
to be parsed quickly without losing nodes at the end
Also fixes #65 , fixes #102 , fixes #165 , fixes #183
Also fixes #81 (Rafael Nadal parsing bug)
Also fixes #53 , fixes #58 , fixes #88 , fixes #152 (duplicate issues)
vor 7 Jahren
Ben Kurtovic
d7c755f526
Add Wikicode.contains(), Wikicode.get_ancestors(), Wikicode.get_parent() ( #177 )
vor 7 Jahren
Ben Kurtovic
68ded2f890
Add keep_template_params to Wikicode.strip_code ( #175 )
vor 7 Jahren
Ben Kurtovic
6ffdfa52ef
Allow Wikicode objects to be pickled properly.
vor 7 Jahren
Ben Kurtovic
6159171e04
Make Template.remove(keep_field=True) slightly more reasonable.
vor 7 Jahren
Ben Kurtovic
120d6a0366
Fix Wikicode.matches behavior on non-list/tuple iterables.
vor 7 Jahren
Ben Kurtovic
f34f662f35
Fix len() sometimes raising ValueError on empty node lists ( fixes #174 )
vor 7 Jahren
Ben Kurtovic
d54509e190
Fix release script.
vor 8 Jahren
Ben Kurtovic
12d7d1d161
release/0.4.4
vor 8 Jahren
Ben Kurtovic
14cde9d821
Update changelogs.
vor 8 Jahren
Ben Kurtovic
83f08e755d
Update changelog. [ci skip]
vor 8 Jahren
Ben Kurtovic
af666bba16
Properly read from file-like objects when passed to parse_anything() ( #137 )
vor 9 Jahren
Ben Kurtovic
61b6b98470
Fix two parser bugs involving wikitable error handling.
vor 9 Jahren
Ben Kurtovic
a4c7fce95c
Version bump for 0.5 [ci skip]
vor 9 Jahren
Ben Kurtovic
eb89f386d7
release/0.4.3
vor 9 Jahren
Ben Kurtovic
af0805549c
Changelog/version update, now targeting 0.4.3.
vor 9 Jahren
Ben Kurtovic
90bd12dd47
Fix a C tokenizer crash when parsing is interrupted ( fixes #97 )
vor 9 Jahren
Ben Kurtovic
4f3ab48375
Edge cases involving wikilink -> external link fallback ( fixes #120 )
vor 9 Jahren
Ben Kurtovic
5cf13093ea
Version bump for 0.5. Nicer commit message for release merges.
vor 9 Jahren
Ben Kurtovic
720516a7e1
release/0.4.2
vor 9 Jahren
Ben Kurtovic
e6ffda6171
Fix some issues during 0.4.1 release.
vor 9 Jahren
Ben Kurtovic
e949dd8ddd
release/0.4.1
vor 9 Jahren
Ben Kurtovic
480f70ff1a
Fix various SmartList bugs.
vor 9 Jahren
Ben Kurtovic
ab9f6a97fb
Use weakrefs for SmartList children; remove _ListProxy.detach().
vor 9 Jahren
Ben Kurtovic
6503b5682f
Finish C tokenizer refactoring ( fixes #37 )
vor 9 Jahren
Ben Kurtovic
f16c7e25ca
Fully fix parsing templates with blank names, I hope ( #111 )
vor 9 Jahren
Ben Kurtovic
699d0638f6
Fix param blanking logic by Template.remove() ( #109 )
vor 9 Jahren
Ben Kurtovic
4c2540060b
Fix preserve_spacing behavior in Template.add() on hidden keys ( #109 )
vor 9 Jahren
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
vor 9 Jahren
Ben Kurtovic
1d5bbbe25b
Disallow < and > in wikilink titles/template names ( fixes #104 )
vor 9 Jahren
Ben Kurtovic
8fb5b3a6be
Python 3.5 works ( closes #101 ) [ci skip]
vor 9 Jahren
Ben Kurtovic
28faf72a84
Update the changelogs; sync README with docs on new Windows builds.
vor 9 Jahren
Ben Kurtovic
f0cacd5a9e
Version bump to 0.4.1; fix broken sed commands in release.sh.
vor 9 Jahren
Ben Kurtovic
432da1260f
Changelog update for 0.4.
vor 9 Jahren
Ben Kurtovic
ef18166c12
Update changelog following #94 .
vor 10 Jahren
Ben Kurtovic
a64bae35c9
Add support for a NOWEB env var, update docs.
vor 10 Jahren
Ben Kurtovic
0ae8460cb7
Add changelog entry for roundtripping tests. [skip ci]
vor 10 Jahren
Ben Kurtovic
8480381a31
Credit for table parsing code. [skip ci]
vor 10 Jahren
Ben Kurtovic
b7c46a6dca
Add tables to changelog.
vor 10 Jahren
Ben Kurtovic
e294ee6298
Improve ListProxy detaching behavior.
vor 10 Jahren
Ben Kurtovic
b997e4cd71
Support attributes quoted with '; add required quotes in value setter.
vor 10 Jahren
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.
vor 10 Jahren
Ben Kurtovic
08cafc0576
Raise ParserError for internal problems. Improve coverage. Cleanup.
vor 10 Jahren
Ben Kurtovic
c95802f9cc
Allow recursing through everything except the forced type ( fixes #70 )
vor 10 Jahren
Ben Kurtovic
b4b62026f8
Update changelog, docs.
vor 10 Jahren
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
vor 10 Jahren