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.
8 years ago
Ben Kurtovic
120d6a0366
Fix Wikicode.matches behavior on non-list/tuple iterables.
8 years ago
Ben Kurtovic
f34f662f35
Fix len() sometimes raising ValueError on empty node lists ( fixes #174 )
8 years ago
Ben Kurtovic
12d7d1d161
release/0.4.4
8 years ago
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
9 years ago
Ben Kurtovic
8835ca313a
Don't preserve context when popping template key stack ( fixes #142 , hopefully).
9 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
Ben Kurtovic
eb89f386d7
release/0.4.3
9 years ago
Ben Kurtovic
651b63b7f6
Windows fix ( #126 )
9 years ago
Ben Kurtovic
af0805549c
Changelog/version update, now targeting 0.4.3.
9 years ago
Ben Kurtovic
23d97583bf
Fix regression in C tokenizer ( #125 )
9 years ago
Ben Kurtovic
460199488f
Fix a couple sign compare issues.
9 years ago
Ben Kurtovic
90bd12dd47
Fix a C tokenizer crash when parsing is interrupted ( fixes #97 )
9 years ago
Ben Kurtovic
4f3ab48375
Edge cases involving wikilink -> external link fallback ( fixes #120 )
9 years ago
Ben Kurtovic
5cf13093ea
Version bump for 0.5. Nicer commit message for release merges.
9 years ago
Ben Kurtovic
720516a7e1
release/0.4.2
9 years ago
Ben Kurtovic
e6ffda6171
Fix some issues during 0.4.1 release.
9 years ago
Ben Kurtovic
e949dd8ddd
release/0.4.1
9 years ago
Ben Kurtovic
480f70ff1a
Fix various SmartList bugs.
9 years ago
Ben Kurtovic
ab9f6a97fb
Use weakrefs for SmartList children; remove _ListProxy.detach().
9 years ago
Ben Kurtovic
8e7a600b51
Fix use-after-free bug.
9 years ago
Ben Kurtovic
8963c1f683
Fix Textbuffer_reverse()
9 years ago
Ben Kurtovic
1357da119d
Finish improved Unicode support for PEP 393.
9 years ago
Ben Kurtovic
c1d4feea66
Py_UNICODE -> Unicode everywhere; bugfix for PEP 393.
9 years ago
Ben Kurtovic
5eac0ab16f
More PEP 393 work; update Textbuffer interface and usage.
9 years ago
Ben Kurtovic
2072a10b67
More reworking of CTokenizer Unicode support (incomplete)
9 years ago
Ben Kurtovic
2a3a978986
Incomplete code for C tokenizer textbuffer.
9 years ago
Ben Kurtovic
f16c7e25ca
Fully fix parsing templates with blank names, I hope ( #111 )
9 years ago
John Vandenberg
ab0a58121a
Delay loading of pure Python tokenizer
9 years ago
Ben Kurtovic
699d0638f6
Fix param blanking logic by Template.remove() ( #109 )
9 years ago
Ben Kurtovic
4c2540060b
Fix preserve_spacing behavior in Template.add() on hidden keys ( #109 )
9 years ago
Ben Kurtovic
40fed91806
Fix C tokenizer leaking memory.
9 years ago
Ben Kurtovic
7345a3742e
Fix a thread safety issue involving route state.
9 years ago
Ben Kurtovic
2005efd309
Split up C tokenizer into tag_data, tok_parse, tok_support, tokens.
9 years ago
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
9 years ago
Ben Kurtovic
a8c0ff3f29
Remove stdint.h include for MSVC 2008.
9 years ago
Ben Kurtovic
dad042bc2c
Fix C warnings in MSVC.
9 years ago
Ben Kurtovic
1d5bbbe25b
Disallow < and > in wikilink titles/template names ( fixes #104 )
9 years ago