Ben Kurtovic
|
e5f17eea00
|
Update copyright notices for 2014.
|
10 년 전 |
Ben Kurtovic
|
45aec31629
|
Move range/xrange compatibility code to compat.py.
|
10 년 전 |
Ben Kurtovic
|
99d433c2d5
|
Change protocol for Node iteration; rename __iternodes__ to __children__.
|
10 년 전 |
Ben Kurtovic
|
066049b46a
|
Update email address.
|
11 년 전 |
Ben Kurtovic
|
cf90557229
|
Template.has() should be passed ignore_empty=False by default.
**Breaking change**; closes #51.
|
11 년 전 |
Ben Kurtovic
|
40b92358b4
|
Simplify parameter removal.
|
11 년 전 |
Ben Kurtovic
|
f2442906db
|
Implement support for Template.remove() taking Parameters as arguments.
|
11 년 전 |
Ben Kurtovic
|
bdfd0632b3
|
A couple very minor nitpicks.
|
11 년 전 |
Ben Kurtovic
|
d1a7d25220
|
Set right context for ExternalLink.url; Wikicode.filter_external_links()
|
11 년 전 |
Ben Kurtovic
|
67f1762aa4
|
Doc updates, and allow passing a starting context to tokenize().
|
11 년 전 |
Ben Kurtovic
|
d91c65dc1f
|
TestExternalLink; some fixes in ExternalLink.
|
11 년 전 |
Ben Kurtovic
|
5e6e5b6301
|
tag_defs.py -> definitions.py; more outline stuff
|
11 년 전 |
Ben Kurtovic
|
8fe8b1fef5
|
Implement ExternalLinks as tokens and in the builder.
|
11 년 전 |
Ben Kurtovic
|
0886b6fbf6
|
Add ExternalLink Node type.
|
11 년 전 |
Ben Kurtovic
|
800bd20e39
|
Implement Tag.has(), Tag.get(), Tag.add(), and Tag.remove() (closes #11).
|
11 년 전 |
Ben Kurtovic
|
9280cb16fe
|
Fix behavior with quoted attrs and spaces before the =.
|
11 년 전 |
Ben Kurtovic
|
53c26589ee
|
Some node fixes; attributes with empty values now display correctly.
|
11 년 전 |
Ben Kurtovic
|
a7dda77474
|
Template.has_param() -> Template.has()
|
11 년 전 |
Ben Kurtovic
|
7a4b1625d3
|
Strip self-closing tags correctly.
|
11 년 전 |
Ben Kurtovic
|
4f52887e17
|
wiki_markup stores the markup itself instead of a bool
|
11 년 전 |
Ben Kurtovic
|
de6d5074fa
|
Tag.showtag -> Tag.wiki_markup
|
11 년 전 |
Ben Kurtovic
|
2c4bff1d68
|
Start test_tag; some fixes for Tags.
|
11 년 전 |
Ben Kurtovic
|
b8752a5c15
|
test_attribute; better setters for padding attributes
|
11 년 전 |
Ben Kurtovic
|
77c4df701b
|
Fix assorted bugs in the Tag node.
|
11 년 전 |
Ben Kurtovic
|
bee74c0ced
|
Some doc updates.
|
11 년 전 |
Ben Kurtovic
|
7d1a28a249
|
Support single and single-only tags like <br>.
|
11 년 전 |
Ben Kurtovic
|
81e8fdd682
|
Give Attributes more attributes for padding data.
|
11 년 전 |
Ben Kurtovic
|
6450814729
|
Remove 'type' attribute from tags; rework tag definitions.
|
11 년 전 |
Ben Kurtovic
|
3fb8f3214c
|
Fix StringMixIn.maketrans() on Py3k.
- Make a test in Py3k actually use StringMixIn instead of str.
- Minor cosmetic fix.
|
11 년 전 |
Ben Kurtovic
|
61fc5b5eab
|
Fix handling of self-closing tags (closes #31)
|
11 년 전 |
Ben Kurtovic
|
81849013bc
|
Finishing tests for Templates; some fixes.
|
11 년 전 |
Ben Kurtovic
|
2ca3b2805e
|
Implement 'before' parameter for Template.add() (closes #21)
|
11 년 전 |
Ben Kurtovic
|
b46c98b012
|
Clean up template.add(); add a before param but do not implement yet.
|
11 년 전 |
Ben Kurtovic
|
786d619274
|
Drop force_no_field in template.remove(); implement test_remove().
- Also add tests for spacing in param names.
|
11 년 전 |
Ben Kurtovic
|
6a385b3921
|
TestParameter and a fair chunk of TestTemplate.
|
11 년 전 |
Ben Kurtovic
|
6bf8cfd2ad
|
Fix tests for Python 3.
|
11 년 전 |
Ben Kurtovic
|
8db40689ed
|
Improve a few things about nodes; simply a method in Wikicode.
|
11 년 전 |
Ben Kurtovic
|
404b4479a2
|
Implement the remaining asserts in TreeEqualityTestCase.
|
11 년 전 |
Ben Kurtovic
|
34b85a93cd
|
Cosmetic change: standardize whitespace after class definition.
|
11 년 전 |
Ben Kurtovic
|
357e421fe8
|
Text nodes should now appear a bit better in tree form.
|
11 년 전 |
Ben Kurtovic
|
cd5cc6a7d0
|
Update copyright notices for 2013.
|
11 년 전 |
Ben Kurtovic
|
eed7c918bf
|
Implement padding support for Tags completely; open_padding->padding.
|
11 년 전 |
Ben Kurtovic
|
a58c480639
|
Fix some usage of attrs; shorten a context, fix some behavior I broke.
|
11 년 전 |
Ben Kurtovic
|
146d1fd006
|
Fix a bug in rendering Tags; attrs->attributes; update documentation.
|
11 년 전 |
Ben Kurtovic
|
a21c69fa1e
|
Split off tag definitions into a new file.
|
11 년 전 |
Ben Kurtovic
|
827c544721
|
Should correctly handle closing tags with strange spacing.
|
11 년 전 |
Ben Kurtovic
|
f78bcf832a
|
Keep .type and .tag synchronized in Tags when using their setters.
|
11 년 전 |
Ben Kurtovic
|
7e46601b1d
|
Tags should fully work now in tokenizer and builder.
Still need to do attributes.
|
11 년 전 |
Ben Kurtovic
|
05ec7a1a92
|
Improve padding support for Tags; more code for tags in tokenizer.
|
11 년 전 |
Ben Kurtovic
|
d1a9ba9a34
|
Starting tag work.
- Translation dict, contexts, parse_* and handle_* hooks in tokenizer.
|
11 년 전 |