Ben Kurtovic
a21d0d6946
Proper README syntax highlighting
6 anos atrás
Ben Kurtovic
2c206bc16b
Fix crash due to PyList_GET_SIZE being applied to a dict ( fixes #208 )
6 anos atrás
Ben Kurtovic
62fce8f1ee
Apply previous commit ( 59369e3
) to docs [ci skip]
6 anos atrás
Ben Kurtovic
02151e24f7
Merge pull request #207 from BryghtShadow/patch-1 [ci-skip]
fix example: wrap dict.values in list()
6 anos atrás
Shii Kayano
59369e3c35
fix example: wrap dict.values in list()
In Python 3, `dict.values` returns a dict_values object, which does not support indexing.
6 anos atrás
Ben Kurtovic
6de7d41733
Fix signals getting stuck inside the C tokenizer ( #206 )
6 anos atrás
Ben Kurtovic
de6e671c40
Update changelog, remove now-unneeded test discovery script, cleanup
6 anos atrás
Ben Kurtovic
563901fa95
Merge pull request #204 from hugovk/rm-eol
Drop support for EOL Python 2.6, 3.2 and 3.3
6 anos atrás
Hugo
f372d3d495
Upgrade unit test asserts
6 anos atrás
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
6 anos atrás
Hugo
59636609db
Drop support for EOL Python
6 anos atrás
Ben Kurtovic
2bb2728428
Update changelog [ci skip]
6 anos atrás
Ben Kurtovic
0df048424a
Merge pull request #200 from legoktm/wbr
Add <wbr> to definitions.py
6 anos atrás
Kunal Mehta
e506380318
Add <wbr> to definitions.py
Added to MediaWiki in ff74113bea (T54468).
6 anos atrás
Ben Kurtovic
92237003d9
Try to fix appveyor issues.
6 anos atrás
Ben Kurtovic
b354c56755
Version bump; cleanup [ci skip]
6 anos atrás
Ben Kurtovic
cb96b4378a
release/0.5.1
6 anos atrás
Ben Kurtovic
d0da416e3e
Make release script safer.
6 anos atrás
Ben Kurtovic
1a4e2fc019
Add Python 3.7 to trove classifiers.
6 anos atrás
Ben Kurtovic
86c805d59b
Don't get stuck in tags with unclosed quoted attributes ( fixes #190 ).
6 anos atrás
Ben Kurtovic
46000ee7c8
Fix test on old Python versions
7 anos atrás
Ben Kurtovic
253102be35
Minor change to template test_formatting format.
7 anos atrás
Ben Kurtovic
7a30e47f76
Some improvements to whitespace recognition; unit tests ( #185 ).
7 anos atrás
Ben Kurtovic
46fbd85c2e
Typo [ci skip]
7 anos atrás
Ben Kurtovic
cdc97f6f29
Version bump for 0.6 [ci skip]
7 anos atrás
Ben Kurtovic
f947ee5900
Merge develop into master (release/0.5)
7 anos atrás
Ben Kurtovic
3ffc13bfd4
release/0.5
7 anos atrás
Ben Kurtovic
cd4f90e663
Fix a rare parsing bug involving nested broken tags.
7 anos atrás
Ben Kurtovic
7308c8055e
Not perfect, but slightly better template param space guessing ( #155 )
7 anos atrás
Ben Kurtovic
5a99597eb3
Another C89 fix for MSVC.
7 anos atrás
Ben Kurtovic
0ef6a2ffbe
Fix declarations for C89 compatibility (forgot MSVC needed that...)
7 anos atrás
Ben Kurtovic
dc0b3ae446
Enable Windows builds on Python 3.6; try to fix again.
7 anos atrás
Ben Kurtovic
6ad3b9fb2a
inttypes.h doesn't exist on Windows, so try using stdint.h
7 anos atrás
Ben Kurtovic
2593675651
Remove stdbool.h from avl_tree since MSVC doesn't like it.
7 anos atrás
Ben Kurtovic
6ee61789da
Fix compilation issue on Travis since GCC uses C90 by default there.
7 anos atrás
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
08e5f7e1a5
Forgot version bump, sigh.
7 anos atrás
Ben Kurtovic
f01bdc51ee
Capitalization [ci skip]
7 anos atrás
Ben Kurtovic
784e5e7b8d
Revise/add to new limitations section.
7 anos atrás
Ben Kurtovic
9317b52c91
Merge pull request #180 from Larivact/patch-1
rewrite and extend Caveats
7 anos atrás
Larivact
2e486f7544
fix comma
7 anos atrás
Larivact
4d4a25152e
Caveats -> Limitations, add Config unawareness
7 anos atrás
Larivact
2d89f611be
rewrite Caveats
>not supported, since they cannot be represented in the node tree.
It's not that they cannot be represented, it's that they would have to be evaluated.
7 anos atrás
Larivact
a25304dc44
partially rewrite Caveats, external link caveat
"inherent limitation in wikicode" sounds misleading it's about generating an AST instead of HTML.
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.
8 anos atrás
Ben Kurtovic
120d6a0366
Fix Wikicode.matches behavior on non-list/tuple iterables.
8 anos atrás
Ben Kurtovic
f34f662f35
Fix len() sometimes raising ValueError on empty node lists ( fixes #174 )
8 anos atrás