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