root/todo.txt

Revision 309:d100e5bc22b7, 2.2 kB (checked in by Stefan Schwarzer <sschwarzer@sschwarzer.net>, 1 year ago)
Added a module `dirtree` which handles scanning of directory trees for
use in `converter.dir_to_html`. `dirtree` has the additional
functionality to collect information about parent and sibling items
for all items.

For example, for the directory tree

/root/abc
/root/abc/abc
/root/abc/def
/root/abc/ghi
/root/def
/root/def/abc

it finds out that /root/abc/abc has no previous sibling, /root/abc/ghi
has no last, and that the previous sibling of /root/def is /root/abc.
More information can be found in the docstrings of the new module and
the doctest file.
Line 
1 # Copyright (C) 2007, Stefan Schwarzer
2 #
3 # Permission is hereby granted, free of charge, to any person
4 # obtaining a copy of this software and associated documentation files
5 # (the "Software"), to deal in the Software without restriction,
6 # including without limitation the rights to use, copy, modify, merge,
7 # publish, distribute, sublicense, and/or sell copies of the Software,
8 # and to permit persons to whom the Software is furnished to do so,
9 # subject to the following conditions:
10 #
11 # The above copyright notice and this permission notice shall be
12 # included in all copies or substantial portions of the Software.
13 #
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 # SOFTWARE.
22
23 BUGS
24 ====
25
26 - keyboard interrupt doesn't work on Windows (probably socket-related)
27
28 OTHER
29 =====
30
31 - write tutorial?
32
33 - allow to stop Websourcebrowser from the web interface (button at the
34   bottom of the directory display, far enough so you don't click it
35   accidentally; should be possible to suppress the button, so not
36   anyone can stop a public server)
37 - re-think supporting a configuration file
38 - search function (identifiers? regular expressions?)
39 - allow collapsing/expanding of individual directories ("explorer-like")
40 - ensure sensible size of new windows (if a file's link is
41   opened with "Open link in new window")
42 - re-investigate caching for server and client
43 - add links after directories: up (up arrow), previous (left arrow),
44   next (right arrow)
45
46 - custom file display (e. g. show images and contents of a tar(.gz|.bz2)
47   archive)
48
49 - prevent DOS attacks
50   - limit size of displayed files, especially binary files displayed
51     as hexdumps
52   - limit number of files displayed as in deeply-nested directory
53     structures
54
55 - utilize exctags if installed
56   - folding?
57   - cross-reference code
58
Note: See TracBrowser for help on using the browser.