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)
pirms 7 gadiem
Ben Kurtovic
d7c755f526
Add Wikicode.contains(), Wikicode.get_ancestors(), Wikicode.get_parent() ( #177 )
pirms 7 gadiem
Ben Kurtovic
68ded2f890
Add keep_template_params to Wikicode.strip_code ( #175 )
pirms 7 gadiem
Ben Kurtovic
6ffdfa52ef
Allow Wikicode objects to be pickled properly.
pirms 7 gadiem
Ben Kurtovic
6159171e04
Make Template.remove(keep_field=True) slightly more reasonable.
pirms 7 gadiem
Ben Kurtovic
120d6a0366
Fix Wikicode.matches behavior on non-list/tuple iterables.
pirms 7 gadiem
Ben Kurtovic
f34f662f35
Fix len() sometimes raising ValueError on empty node lists ( fixes #174 )
pirms 8 gadiem
Ben Kurtovic
d54509e190
Fix release script.
pirms 8 gadiem
Ben Kurtovic
12d7d1d161
release/0.4.4
pirms 8 gadiem
Ben Kurtovic
14cde9d821
Update changelogs.
pirms 8 gadiem
Ben Kurtovic
83f08e755d
Update changelog. [ci skip]
pirms 8 gadiem
Ben Kurtovic
af666bba16
Properly read from file-like objects when passed to parse_anything() ( #137 )
pirms 9 gadiem
Ben Kurtovic
61b6b98470
Fix two parser bugs involving wikitable error handling.
pirms 9 gadiem
Ben Kurtovic
a4c7fce95c
Version bump for 0.5 [ci skip]
pirms 9 gadiem
Ben Kurtovic
eb89f386d7
release/0.4.3
pirms 9 gadiem
Ben Kurtovic
af0805549c
Changelog/version update, now targeting 0.4.3.
pirms 9 gadiem
Ben Kurtovic
90bd12dd47
Fix a C tokenizer crash when parsing is interrupted ( fixes #97 )
pirms 9 gadiem
Ben Kurtovic
4f3ab48375
Edge cases involving wikilink -> external link fallback ( fixes #120 )
pirms 9 gadiem
Ben Kurtovic
5cf13093ea
Version bump for 0.5. Nicer commit message for release merges.
pirms 9 gadiem
Ben Kurtovic
720516a7e1
release/0.4.2
pirms 9 gadiem
Ben Kurtovic
e6ffda6171
Fix some issues during 0.4.1 release.
pirms 9 gadiem
Ben Kurtovic
e949dd8ddd
release/0.4.1
pirms 9 gadiem
Ben Kurtovic
480f70ff1a
Fix various SmartList bugs.
pirms 9 gadiem
Ben Kurtovic
ab9f6a97fb
Use weakrefs for SmartList children; remove _ListProxy.detach().
pirms 9 gadiem
Ben Kurtovic
6503b5682f
Finish C tokenizer refactoring ( fixes #37 )
pirms 9 gadiem
Ben Kurtovic
f16c7e25ca
Fully fix parsing templates with blank names, I hope ( #111 )
pirms 9 gadiem
Ben Kurtovic
699d0638f6
Fix param blanking logic by Template.remove() ( #109 )
pirms 9 gadiem
Ben Kurtovic
4c2540060b
Fix preserve_spacing behavior in Template.add() on hidden keys ( #109 )
pirms 9 gadiem
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
pirms 9 gadiem
Ben Kurtovic
1d5bbbe25b
Disallow < and > in wikilink titles/template names ( fixes #104 )
pirms 9 gadiem
Ben Kurtovic
8fb5b3a6be
Python 3.5 works ( closes #101 ) [ci skip]
pirms 9 gadiem
Ben Kurtovic
28faf72a84
Update the changelogs; sync README with docs on new Windows builds.
pirms 9 gadiem
Ben Kurtovic
f0cacd5a9e
Version bump to 0.4.1; fix broken sed commands in release.sh.
pirms 9 gadiem
Ben Kurtovic
432da1260f
Changelog update for 0.4.
pirms 9 gadiem
Ben Kurtovic
ef18166c12
Update changelog following #94 .
pirms 10 gadiem
Ben Kurtovic
a64bae35c9
Add support for a NOWEB env var, update docs.
pirms 10 gadiem
Ben Kurtovic
0ae8460cb7
Add changelog entry for roundtripping tests. [skip ci]
pirms 10 gadiem
Ben Kurtovic
8480381a31
Credit for table parsing code. [skip ci]
pirms 10 gadiem
Ben Kurtovic
b7c46a6dca
Add tables to changelog.
pirms 10 gadiem
Ben Kurtovic
e294ee6298
Improve ListProxy detaching behavior.
pirms 10 gadiem
Ben Kurtovic
b997e4cd71
Support attributes quoted with '; add required quotes in value setter.
pirms 10 gadiem
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.
pirms 10 gadiem
Ben Kurtovic
08cafc0576
Raise ParserError for internal problems. Improve coverage. Cleanup.
pirms 10 gadiem
Ben Kurtovic
c95802f9cc
Allow recursing through everything except the forced type ( fixes #70 )
pirms 10 gadiem
Ben Kurtovic
b4b62026f8
Update changelog, docs.
pirms 10 gadiem
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
pirms 10 gadiem
Ben Kurtovic
2fe8826a9d
Added a script to test for memory leaks in scripts/memtest.py.
pirms 10 gadiem
Ben Kurtovic
99cf0a4412
Version bump to 0.4.dev.
pirms 10 gadiem
Ben Kurtovic
9953fd5585
release/0.3.3
pirms 10 gadiem
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
pirms 10 gadiem