summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* added "Error Handling" section;directiveswiemann2006-07-112-22/+71
| | | | | | improved and extended directive documentation git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4665 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed old TODO markerwiemann2006-07-101-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4653 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updated and restructured docstring and documentation for new directive interfacewiemann2006-07-102-325/+327
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4652 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* throw DirectiveErrors instead of returning system messageswiemann2006-05-256-118/+66
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4570 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use directive_error to throw errors;wiemann2006-05-252-36/+16
| | | | | | | | do not populate header/footer with a paragraph containing an error message if the header/footer directive is empty; removed HeaderFooter base class git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4569 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed parsers.rst.SystemMessage to DirectiveErrorwiemann2006-05-252-20/+29
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4568 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added docutils.parsers.rst.SystemMessage, to be thrown from directive code;wiemann2006-05-1410-98/+84
| | | | | | | | | use it in some places; catch it in the reST parser; added Directive.assert_has_content, and use it added some assertions for directives' return values; git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4547 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added a Directive.system_message convenience methodwiemann2006-04-052-11/+39
| | | | | | | | | | (result from brainstorming with David); I think I like it; what do you think, David? Something that is bothering me is that we do not keep the actual (externally visible) directive interface and the convenience methods separated; I added a comment to separate them. git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4504 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed GenericAdmonition to BaseAdmonition andwiemann2006-04-052-16/+16
| | | | | | BaseTopic to BasePseudoSection git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4503 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* turned comments into class-variable docstringswiemann2006-04-022-3/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4494 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed module cache;wiemann2006-03-291-15/+9
| | | | | | there is no speed penalty (alltests.py) and it simplifies the code git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4449 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* adapted nomenclature to new directive interfacewiemann2006-03-292-12/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4448 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updated documentation on directive interface;wiemann2006-03-142-75/+66
| | | | | | probably not quite finished yet, though git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4438 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed dead codewiemann2006-03-121-7/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4437 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added tests for empty directivewiemann2006-03-121-0/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4436 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added test for date outside of substitution context;wiemann2006-03-122-1/+12
| | | | | | fixed bug (typo) git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4435 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added more tests for erroneous role directiveswiemann2006-03-121-0/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4434 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added test for rtrim option of unicode directivewiemann2006-03-121-2/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4433 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added test for non-existent file in raw directive;wiemann2006-03-122-1/+15
| | | | | | fixed bug (typo) git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4432 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made the coverage script cope with my symlinkswiemann2006-03-121-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4431 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added more table testswiemann2006-03-121-0/+45
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4430 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Removed handler for failed import of urllib2. It was added in r1775wiemann2006-03-122-24/+8
| | | | | | | | | | because it "was causing problems on SourceForge (``libssl.so.2`` unavailable?)" [log], but it works now on both SF.net and BerliOS, so there's no reason to handle this case anymore, I think. I didn't put the import at the top of the module though because we still want to degrade gracefully if it's broken. git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4429 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added test for empty raw directivewiemann2006-03-121-0/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4428 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored csv-table and list-tablewiemann2006-03-122-370/+376
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4427 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored tablewiemann2006-03-122-33/+43
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4426 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored target-noteswiemann2006-03-122-9/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4425 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactor header and footerwiemann2006-03-112-33/+38
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4424 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored sectnumwiemann2006-03-112-8/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4423 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added tests for "sectnum" directivewiemann2006-03-111-0/+56
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4422 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored contentswiemann2006-03-112-53/+60
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4421 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored restructuredtext-test-directive;wiemann2006-03-112-18/+44
| | | | | | | let's keep the old-style directive definition -- we may need it for testing the converter function later git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4420 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored datewiemann2006-03-112-14/+17
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4419 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored titlewiemann2006-03-112-6/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4418 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added tests for "title" directivewiemann2006-03-111-0/+34
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4417 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored default-rolewiemann2006-03-112-20/+26
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4416 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored rolewiemann2006-03-112-56/+64
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4415 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored classwiemann2006-03-112-28/+35
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4414 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed unnecessary testwiemann2006-03-111-12/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4413 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added tests for "class" directivewiemann2006-03-111-0/+66
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4412 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored unicodewiemann2006-03-112-35/+42
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4411 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored replacewiemann2006-03-112-31/+36
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4410 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored rawwiemann2006-03-112-92/+108
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4409 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* minor cleanupwiemann2006-03-114-4/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4408 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored includewiemann2006-03-112-54/+63
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4407 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored figurewiemann2006-03-112-67/+67
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4406 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored image; hacked figure to make it work with refactored Image classwiemann2006-03-112-70/+85
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4405 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed option_spec attribute; fixed circular importwiemann2006-03-112-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4403 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved imports to the top; catch ImportErrors resulting from importing Docutilswiemann2006-03-111-15/+25
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4402 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed Directive.options class attribute to option_spec; minor cleanupsgoodger2006-03-114-25/+50
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4400 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved docutils.parsers.rst.states.Body.convert_old_style_directive method to ↵goodger2006-03-113-25/+29
| | | | | | docutils.parsers.rst.convert_directive_function git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/directives@4399 929543f6-e4f2-0310-98a6-ba3bd3dd1d04