Ben Kurtovic
2a4e1f4316
Add contexts.describe() for debugging
5 years ago
Ben Kurtovic
b6e4c59004
Switch to requests for basic API example ( closes #219 ); update links
5 years ago
Ben Kurtovic
6136b1b205
Make Wikicode.matches() treat _ and space as equivalent ( fixes #216 )
5 years ago
Ben Kurtovic
9965709934
Version bump; update release script; update Travis
5 years ago
Ben Kurtovic
18646f712f
release/0.5.4
5 years ago
Ben Kurtovic
8c5f554406
Add guard against a rare crash in the C tokenizer
5 years ago
Ben Kurtovic
98dc30902d
Version bump
5 years ago
Ben Kurtovic
3d116713b2
release/0.5.3
5 years ago
Ben Kurtovic
fa98aad408
Bump copyright [skip ci]
5 years ago
Ben Kurtovic
4775131717
Fix not memoizing bad routes after failing inside a table ( fixes #206 )
5 years ago
Ben Kurtovic
6e61c99c90
Update API query example; clarify docstring
5 years ago
Ben Kurtovic
708bee59e1
Minor cleanup
5 years ago
Ben Kurtovic
83bcb902b8
Support manual construction of Node objects ( fixes #214 )
5 years ago
Ben Kurtovic
0ae5f6d641
Fix regression in previous commit on _ListProxy transformations ( fixes #213 )
5 years ago
Ben Kurtovic
840a88bcd6
Fix Wikicode transformation methods on empty sections ( fixes #212 )
5 years ago
Ben Kurtovic
2c0b9e5795
Version bump, fix release script again [ci skip]
6 years ago
Ben Kurtovic
8a88198aae
release/0.5.2
6 years ago
Ben Kurtovic
2c206bc16b
Fix crash due to PyList_GET_SIZE being applied to a dict ( fixes #208 )
6 years ago
Ben Kurtovic
6de7d41733
Fix signals getting stuck inside the C tokenizer ( #206 )
6 years ago
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
6 years ago
Hugo
59636609db
Drop support for EOL Python
6 years ago
Kunal Mehta
e506380318
Add <wbr> to definitions.py
Added to MediaWiki in ff74113bea (T54468).
6 years ago
Ben Kurtovic
b354c56755
Version bump; cleanup [ci skip]
6 years ago
Ben Kurtovic
cb96b4378a
release/0.5.1
6 years ago
Ben Kurtovic
86c805d59b
Don't get stuck in tags with unclosed quoted attributes ( fixes #190 ).
6 years ago
Ben Kurtovic
7a30e47f76
Some improvements to whitespace recognition; unit tests ( #185 ).
7 years ago
Ben Kurtovic
cdc97f6f29
Version bump for 0.6 [ci skip]
7 years ago
Ben Kurtovic
3ffc13bfd4
release/0.5
7 years ago
Ben Kurtovic
cd4f90e663
Fix a rare parsing bug involving nested broken tags.
7 years ago
Ben Kurtovic
7308c8055e
Not perfect, but slightly better template param space guessing ( #155 )
7 years ago
Ben Kurtovic
5a99597eb3
Another C89 fix for MSVC.
7 years ago
Ben Kurtovic
0ef6a2ffbe
Fix declarations for C89 compatibility (forgot MSVC needed that...)
7 years ago
Ben Kurtovic
dc0b3ae446
Enable Windows builds on Python 3.6; try to fix again.
7 years ago
Ben Kurtovic
6ad3b9fb2a
inttypes.h doesn't exist on Windows, so try using stdint.h
7 years ago
Ben Kurtovic
2593675651
Remove stdbool.h from avl_tree since MSVC doesn't like it.
7 years ago
Ben Kurtovic
6ee61789da
Fix compilation issue on Travis since GCC uses C90 by default there.
7 years ago
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 years ago
Ben Kurtovic
08e5f7e1a5
Forgot version bump, sigh.
7 years ago
Ben Kurtovic
d7c755f526
Add Wikicode.contains(), Wikicode.get_ancestors(), Wikicode.get_parent() ( #177 )
7 years ago
Ben Kurtovic
68ded2f890
Add keep_template_params to Wikicode.strip_code ( #175 )
7 years ago
Ben Kurtovic
6ffdfa52ef
Allow Wikicode objects to be pickled properly.
7 years ago
Ben Kurtovic
6159171e04
Make Template.remove(keep_field=True) slightly more reasonable.
7 years ago
Ben Kurtovic
120d6a0366
Fix Wikicode.matches behavior on non-list/tuple iterables.
7 years ago
Ben Kurtovic
f34f662f35
Fix len() sometimes raising ValueError on empty node lists ( fixes #174 )
7 years ago
Ben Kurtovic
12d7d1d161
release/0.4.4
8 years ago
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
8 years ago
Ben Kurtovic
8835ca313a
Don't preserve context when popping template key stack ( fixes #142 , hopefully).
8 years ago
Ben Kurtovic
af666bba16
Properly read from file-like objects when passed to parse_anything() ( #137 )
9 years ago
Ben Kurtovic
61b6b98470
Fix two parser bugs involving wikitable error handling.
9 years ago
Ben Kurtovic
a4c7fce95c
Version bump for 0.5 [ci skip]
9 years ago