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