changeset 168:7926fa38e797

update TODO, move some TODOs to the code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 06 Apr 2011 01:11:15 +0200
parents f5028d0f888f
children 0ce973659f45
files MoinMoin/converter/creole_in.py MoinMoin/converter/rst_in.py MoinMoin/items/__init__.py docs/todo/2.0-TODO docs/todo/TODO.dom docs/todo/TODO.wiki-like-formats-support
diffstat 6 files changed, 14 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/creole_in.py	Wed Apr 06 00:35:14 2011 +0200
+++ b/MoinMoin/converter/creole_in.py	Wed Apr 06 01:11:15 2011 +0200
@@ -367,6 +367,7 @@
     def inline_escape_repl(self, stack, escape, escaped_char):
         stack.top_append(escaped_char)
 
+    # TODO: Parse interwiki the same way as Moin Wiki.
     inline_link = r"""
         (?P<link>
             \[\[
@@ -599,7 +600,7 @@
         element = moin_page.table_cell()
         stack.push(element)
 
-        # TODO: How to handle table headings
+        # TODO: support table headings
         self.parse_inline(cell_text, stack)
 
         stack.pop_name('table-cell')
--- a/MoinMoin/converter/rst_in.py	Wed Apr 06 00:35:14 2011 +0200
+++ b/MoinMoin/converter/rst_in.py	Wed Apr 06 01:11:15 2011 +0200
@@ -28,7 +28,7 @@
 from MoinMoin.util.iri import Iri
 from MoinMoin.util.tree import html, moin_page, xlink
 
-#### TODO: try block
+#### TODO: try block (do not crash if we don't have docutils)
 from docutils import nodes, utils, writers, core
 from docutils.parsers.rst import Parser
 from docutils.nodes import reference, literal_block
--- a/MoinMoin/items/__init__.py	Wed Apr 06 00:35:14 2011 +0200
+++ b/MoinMoin/items/__init__.py	Wed Apr 06 01:11:15 2011 +0200
@@ -13,7 +13,7 @@
     this module cares for more high-level, frontend items,
     e.g. showing, editing, etc. of wiki items.
 """
-
+# TODO: split this huge module into multiple ones after code has stabilized
 
 import os, re, time, datetime, base64
 import tarfile
--- a/docs/todo/2.0-TODO	Wed Apr 06 00:35:14 2011 +0200
+++ b/docs/todo/2.0-TODO	Wed Apr 06 01:11:15 2011 +0200
@@ -1,8 +1,7 @@
-TODO: moin export dump
-
-MoinMoin.items has a Item hierarchy for highlevel items (!= storage items), like:
-Item, NonExistent, Binary, Image, Text, ...
-TODO: Currently it is all in one file, can be split later.
+TODO: moin export dump (create a static html dump that can be opened directly
+from the filesystem using a browser). Problem: URL generation (relative URLs).
+For specific, absolute URLs (like serving html files with a web server),
+Frozen-Flask could be used.
 
 index pages: could filter by name (thus not displaying Trash/*, except if wanted)
 
--- a/docs/todo/TODO.dom	Wed Apr 06 00:35:14 2011 +0200
+++ b/docs/todo/TODO.dom	Wed Apr 06 01:11:15 2011 +0200
@@ -1,16 +1,3 @@
-* Moin Wiki input converter:
-  - Support table attributes.
-  - Use config.url_schemas.
-
-* Creole input converter:
-  - Parse interwiki the same way as Moin Wiki.
-  - Support table headings.
-  - Use config.url_schemas.
-
-* Link converter:
-  - Handle attachment and drawing links. Depends on the outcome of the storage
-    merge.
-
 * Include converter:
   - Handle URIs using the Uri class.
 
--- a/docs/todo/TODO.wiki-like-formats-support	Wed Apr 06 00:35:14 2011 +0200
+++ b/docs/todo/TODO.wiki-like-formats-support	Wed Apr 06 01:11:15 2011 +0200
@@ -8,22 +8,19 @@
 ReStructuredText
 ________________
 
-ReStructuredText->DOM converter requires docutils(>=0.5), this must be
-in REQUIREMENTS and there must be some message in code if docutils is missing.
-
 Some syntax of ReStructuredText is ignored because it can't be converted to
-the current DOM tree(like inline style/classe/templete replacement via directives).
+the current DOM tree (like inline style/class/template replacement via directives).
 Moin needs some page about unsupported things or changes in DOM tree.
 
 Mediawiki
 _________
 
 Mediawiki->DOM converter based on moinwiki->DOM parsing model. Moinwiki parser
-has blocks(multiline markup) and inline markup, but Mediawiki has tags that are
-inline and can be extended to next lines(until closing tag or end of the file).
-This create a problem, for some tags it can be solved by implemented
-preprocessor, but it's doesn't work with tags that have multiline
-output(like <blockquote>).
+has blocks (multiline markup) and inline markup, but Mediawiki has tags that are
+inline and can be extended to next lines (until closing tag or end of the file).
+This creates a problem, for some tags it can be solved by implemented
+preprocessor, but it doesn't work with tags that have multiline output
+(like <blockquote>).
 
 There are to ways to fix it: