Ben Kurtovic
|
4edf9ffad6
|
Update changelog.
|
il y a 11 ans |
Ben Kurtovic
|
5029082b58
|
Merge branch 'feature/wikimarkup_tags' into develop (closes #9)
|
il y a 11 ans |
Ben Kurtovic
|
36180a9e47
|
To clarify usage, emit_text() -> emit_char() and emit_string() -> emit_text()
|
il y a 11 ans |
Ben Kurtovic
|
c1379d5f21
|
Add a emit_string() as a shortcut; a bunch of minor cleanup.
|
il y a 11 ans |
Ben Kurtovic
|
bbcb906f37
|
handle_dl_term()
|
il y a 11 ans |
Ben Kurtovic
|
9993ffe8bf
|
handle_hr()
|
il y a 11 ans |
Ben Kurtovic
|
c20d3f2a6a
|
handle_list_marker() and handle_list()
|
il y a 11 ans |
Ben Kurtovic
|
34b3756285
|
parse_italics_and_bold() and parse_style()
|
il y a 11 ans |
Ben Kurtovic
|
22d7ad032a
|
emit_style_tag, parse_italics, parse_bold
|
il y a 11 ans |
Ben Kurtovic
|
9b98907751
|
Add C hooks and prototypes for wiki-markup tags.
|
il y a 11 ans |
Ben Kurtovic
|
38143e1adc
|
More refactoring (combine _emit_tag_open() and _emit_tag_close())
|
il y a 11 ans |
Ben Kurtovic
|
120f53deec
|
Refactor out _really_parse_style()
|
il y a 11 ans |
Ben Kurtovic
|
4c0e4402b4
|
Only do a second pass if one would produce a different result.
|
il y a 11 ans |
Ben Kurtovic
|
dd4591c270
|
Much refactoring and cleanup.
|
il y a 11 ans |
Ben Kurtovic
|
992e7018ae
|
Working bold/italics implementation (ugly, will clean up)
|
il y a 11 ans |
Ben Kurtovic
|
d6446d5d90
|
Finish test coverage for tags.
|
il y a 11 ans |
Ben Kurtovic
|
55202aadb0
|
Fix some broken tests.
|
il y a 11 ans |
Ben Kurtovic
|
28fa6a2037
|
Add some tests and a new context.
|
il y a 11 ans |
Ben Kurtovic
|
2a82a57b2d
|
Add support for bold and italic text (part one).
|
il y a 11 ans |
Ben Kurtovic
|
851a9e5863
|
Add a couple tests and fix a couple broken ones.
|
il y a 11 ans |
Ben Kurtovic
|
dd2a6f913b
|
Add support for dt, dd. Refactor. Fix some broken tests.
|
il y a 11 ans |
Ben Kurtovic
|
3288b80c15
|
Fix.
|
il y a 11 ans |
Ben Kurtovic
|
7bce2f4e96
|
Parse *, #; add another test.
|
il y a 11 ans |
Ben Kurtovic
|
c910951273
|
Implement horizontal rules (----)
|
il y a 11 ans |
Ben Kurtovic
|
0de0a1f795
|
Finish expected results for wiki-markup test cases.
|
il y a 11 ans |
Ben Kurtovic
|
81bafdb72f
|
Add 56 tokenizer tests for wiki-markup tags.
|
il y a 11 ans |
Ben Kurtovic
|
7a4b1625d3
|
Strip self-closing tags correctly.
|
il y a 11 ans |
Ben Kurtovic
|
f70188daa8
|
Add builder and tokenizer tests for wiki-markup tags.
|
il y a 11 ans |
Ben Kurtovic
|
4f52887e17
|
wiki_markup stores the markup itself instead of a bool
|
il y a 11 ans |
Ben Kurtovic
|
de6d5074fa
|
Tag.showtag -> Tag.wiki_markup
|
il y a 11 ans |
Ben Kurtovic
|
16bb133c58
|
Remove unused functions.
|
il y a 11 ans |
Ben Kurtovic
|
e3f215f667
|
Finish test_tag
|
il y a 11 ans |
Ben Kurtovic
|
2c4bff1d68
|
Start test_tag; some fixes for Tags.
|
il y a 11 ans |
Ben Kurtovic
|
b8752a5c15
|
test_attribute; better setters for padding attributes
|
il y a 11 ans |
Ben Kurtovic
|
8f0defa00a
|
Finish tag building test cases (#9)
|
il y a 11 ans |
Ben Kurtovic
|
77c4df701b
|
Fix assorted bugs in the Tag node.
|
il y a 11 ans |
Ben Kurtovic
|
bee74c0ced
|
Some doc updates.
|
il y a 11 ans |
Ben Kurtovic
|
c568bcbaf4
|
Merge branch 'feature/html_tags' into develop (#9)
|
il y a 11 ans |
Ben Kurtovic
|
4663563ce4
|
Remove unnecessary markers.
|
il y a 11 ans |
Ben Kurtovic
|
07d49c680a
|
Fix resetting of fields when doing multiple tokenizations.
|
il y a 11 ans |
Ben Kurtovic
|
e83f321340
|
Rearrange functions; remove useless prototypes.
|
il y a 11 ans |
Ben Kurtovic
|
9a2556b9fa
|
Actually write to buffer with invalid tag starts.
|
il y a 11 ans |
Ben Kurtovic
|
41d66a4a7f
|
Don't decrement refcount with PyList_SetItem().
|
il y a 11 ans |
Ben Kurtovic
|
bb4cf03e98
|
Fix unsafe context definitions.
|
il y a 11 ans |
Ben Kurtovic
|
2f55654f01
|
Route failure shouldn't be consumed before it reaches Tokenizer_parse_tag().
|
il y a 11 ans |
Ben Kurtovic
|
90ef3206f3
|
Properly handle the first space after a tag name.
|
il y a 11 ans |
Ben Kurtovic
|
e3fc27c9e3
|
Refactor TagData code into dedicated functions.
|
il y a 11 ans |
Ben Kurtovic
|
30c3f27b0e
|
Correctly set TagOpenData's default values.
|
il y a 11 ans |
Ben Kurtovic
|
e32063ef4a
|
Reset routes properly.
|
il y a 11 ans |
Ben Kurtovic
|
fd8a530259
|
Implement Tokenizer_handle_single_only_tag_end(), Tokenizer_handle_single_tag_end()
|
il y a 11 ans |