Ben Kurtovic
|
cf7ab558bf
|
Make Wikicode.get_sections() much faster (closes #63).
Patch mostly by @spointy.
|
10 years ago |
Ben Kurtovic
|
e5f17eea00
|
Update copyright notices for 2014.
|
11 years ago |
Ben Kurtovic
|
1607687c37
|
Remove unused import; fix indentation.
|
11 years ago |
Ben Kurtovic
|
f0a591b323
|
Move get_children() out of utils.
|
11 years ago |
Ben Kurtovic
|
c0fb7c030a
|
Implement new search protocol in Wikicode.
|
11 years ago |
Ben Kurtovic
|
572d7c3014
|
Refactor out part of _do_search; some efficiency.
|
11 years ago |
Ben Kurtovic
|
39c0756130
|
Make StringMixIn a lot simpler thanks to __getattr__.
|
11 years ago |
Ben Kurtovic
|
8df596ba08
|
Re-added 'flat' argument to Wikicode.get_sections().
Requested by Σ.
|
11 years ago |
Ben Kurtovic
|
79bf42df1c
|
Wikicode.get_sections() now returns sections in the correct order.
Reported by Σ.
|
11 years ago |
Ben Kurtovic
|
066049b46a
|
Update email address.
|
11 years ago |
Ben Kurtovic
|
aabe711ee6
|
Wikicode.matches() can now take a tuple or list.
|
11 years ago |
Ben Kurtovic
|
5e6c994c2c
|
Wikicode.matches() now accepts tuples (closes #48)
|
11 years ago |
Ben Kurtovic
|
e5ad4639ff
|
Wikicode.i?filter*()'s matches argument now takes functions (closes #47)
Bump version to 0.4.dev.
|
11 years ago |
Ben Kurtovic
|
0f1fca75d8
|
Typo fix.
|
11 years ago |
Ben Kurtovic
|
d1a7d25220
|
Set right context for ExternalLink.url; Wikicode.filter_external_links()
|
11 years ago |
Ben Kurtovic
|
943caede7a
|
Fix for Python 3.
|
11 years ago |
Ben Kurtovic
|
bda12c4c36
|
Reimplement Wikicode._do_search() to support more input types.
|
11 years ago |
Ben Kurtovic
|
4ef29c2611
|
Clean up Wikicode; unify tests for _do_search()-using methods.
|
11 years ago |
Ben Kurtovic
|
2f3edde57a
|
Add a matches() method to Wikicode.
|
11 years ago |
Ben Kurtovic
|
02e52185f4
|
Wikicode's filter() methods now passed recursive=True instead of False.
This is a breaking change for those who rely on default behavior.
|
11 years ago |
Ben Kurtovic
|
bbaf09dbf8
|
Fix docstrings of generated filter methods.
|
11 years ago |
Ben Kurtovic
|
4ae10eccf5
|
Fix bugs in get_sections(); finish test_get_sections()
|
11 years ago |
Ben Kurtovic
|
35acc1b812
|
Fix a couple bugs.
|
11 years ago |
Ben Kurtovic
|
0b56f2e267
|
Improve Wikicode.get_sections(); implement test_get_tree(); part of test_get_sections()
|
11 years ago |
Ben Kurtovic
|
f700914caf
|
Cleanup Wikicode's filter functions; implement test_filter_family().
|
11 years ago |
Ben Kurtovic
|
17ac79e796
|
Build filter methods dynamically.
|
11 years ago |
Ben Kurtovic
|
3095a4203f
|
Finish tests for Wikicode's list-like methods; fix a bug.
|
11 years ago |
Ben Kurtovic
|
ee99e6eceb
|
Fix a bug in Wikicode.set(); implement test_set() and test_index()
|
11 years ago |
Ben Kurtovic
|
852c5ff9af
|
Start TestWikicode; make Wikicode.nodes's setter handle more inputs.
|
11 years ago |
Ben Kurtovic
|
8db40689ed
|
Improve a few things about nodes; simply a method in Wikicode.
|
11 years ago |
Ben Kurtovic
|
cd5cc6a7d0
|
Update copyright notices for 2013.
|
11 years ago |
Ben Kurtovic
|
76b299e4fa
|
Sync from upstream (6413ae21da ); some doc updates.
|
12 years ago |
Ben Kurtovic
|
aa29a8bd28
|
Wikilinks in builder; some additions; cleanup.
|
12 years ago |
Ben Kurtovic
|
1905456b4d
|
Final fixes and cleanup before release.
|
12 years ago |
Ben Kurtovic
|
777dd7a945
|
.Text -> .nodes.Text, since .Text can also be .tokens.Text.
|
12 years ago |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
12 years ago |
Ben Kurtovic
|
d9805d409b
|
Document SmartList, StringMixIn, utils; some cleanup.
|
12 years ago |
Ben Kurtovic
|
c07869674f
|
Finish documenting Wikicode.
|
12 years ago |
Ben Kurtovic
|
1bc6aa7d3e
|
Document all other methods except the last three in Wikicode.
|
12 years ago |
Ben Kurtovic
|
ed6501344d
|
Docstrings for a good chunk of Wikicode.
|
12 years ago |
Ben Kurtovic
|
90b18e3abc
|
Finish updating all to compat except for the parser.
|
12 years ago |
Ben Kurtovic
|
e6fa7b2b2d
|
Support changing a template's name, plus a couple of typos and docs.
|
12 years ago |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
12 years ago |
Ben Kurtovic
|
59a25818b9
|
Updating documentation.
|
12 years ago |
Ben Kurtovic
|
934b1ef016
|
Fixes and improvements.
|
12 years ago |
Ben Kurtovic
|
137b9fc68f
|
Fix some bugs; satisfy PyLint on certain inheritance things.
|
12 years ago |
Ben Kurtovic
|
3633f31633
|
Relaive imports because they are awesome; more stuff in SmartList.
|
12 years ago |
Ben Kurtovic
|
33f8924cf9
|
Implement Wikicode.get_sections(), starting SmartList.
|
12 years ago |
Ben Kurtovic
|
691b143618
|
Filter functions for Tags
|
12 years ago |
Ben Kurtovic
|
9355f22d22
|
Implement interface for __showtree__.
Some cleanup and import fixes.
|
12 years ago |