OSDN Git Service

Update TODO items
[uclinux-h8/uClibc.git] / TODO
1
2 Erik's TODO list for the next release:
3
4     1) Fix profiling support
5     2) Implement getgrgid_r and getgrnam_r, per SuSv3 
6     3) When options are disabled, also disable them in the
7         include files as well.
8     4) Make all small objects (>~50 bytes) into either inlines or
9         into a static library
10     5) Rework code that fails POSIX conformance tests
11     6) Document all differences between the feature set of uClibc 
12         and glibc.
13     7) Add missing syscall() function to ports that are still 
14         missing it.  (x86 and arm are finished so far).
15
16
17
18 -----------------------------------------------------------------------------
19 Manuel's todo:
20
21 In the next couple of months, I plan on completing the wide char and locale
22 support.  Here's my current list of things to implement by early November.
23
24   1) Little things that need fixing:
25   ----------------------------------
26   a) Use locale decimal point in *printf() and strto*d() -- slightly
27      complicated by the fact that at least one locale uses a wchar
28      radix that does not map to a single byte in UTF-8.
29   b) Use locale digit grouping in *printf().
30   c) Implement %lc (%C) and %ls (%S) handling for printf.
31   d) Deal with mb format string issues in printf, scanf, 
32   strftime (at least).
33   e) Implement wcwidth() and wcswidth() -- use Markus Kuhn's versions.
34   
35   2) Implement wide char numeric conversion functions -- wcsto*().
36   ----------------------------------------------------------------
37      These should be relatively minor modifications to the corresponding
38      strto*() functions, unless locale specific alternate digit support
39      is desired.
40   
41   3) Implement wide formatted output -- *wprintf():
42   -------------------------------------------------
43      The stream output variants should be easily created by appropriately
44      modifying the char *printf() functions.
45   
46      The string buffer variants may take some time to implement because
47      they need to store wchars in a buffer.  It will be necessary to hack
48      the core stdio code slightly to support this.
49   
50   4) Reimplement scanf for narrow and wide streams.
51   -------------------------------------------------
52      The current char version of scanf() needs some cleanup.  Also,
53      modifying the char version of scanf() to create the wchar versions
54      will require reworking the implementation of matching char sets
55      (enclosed in []).
56   
57      Also, as with *wprintf() above, the string buffer variants of wscanf()
58      may require some additional work to the core stdio code.
59   
60   5) Additional str{f|p}time issues.
61   ----------------------------------
62      Support locale specific alternate digits.
63      Support locale era in year designations.
64   
65   6) Other locale issues (my implementation):
66   -------------------------------------------
67   a) Clean up locale code to make building easier.  Fix alt_digits.
68      (Note: This is only _clean_up_ of the current stuff in extra/locale
69       so that it can be cross-compiled, etc.  I'm not talking about the
70       complete rewrite that should really be done.)
71   b) Additional clean up of ctype and wctype.
72   c) Implement collation support for char and wchar -- *xfrm() and *coll().
73   d) transliteration of unsupported wchars in 8-bit locales (like glibc).
74
75
76 Other stuff:
77
78 Reimplement _dtostr to correct its deficiencies (%A support!) and hopefully
79         reduce its size.
80
81 Move the target-specific sysconf.c generator to extra (as it needs to be
82         run on the target) and fix libc/unistd/Makefile.
83
84 Make errno and endptr handling the default in the strto* functions and
85         document how to turn those off to save space.
86
87 -----------------------------------------------------------------------------
88 ds's list:
89
90 Search for string literals that are not in the .rodata section.  (Varies
91 by architecture and gcc version.)
92
93 man pages for binaries
94
95 add obstack stuff for gettext (?)
96
97 check compiling without FP support -- are FP instructions still generated?
98 Needs a uClibc_config.h entry dependent on HAS_FLOATING_POINT.
99
100 Why does ld.so search /usr/powerpc-uclibc/lib before LD_LIBRARY_PATH?
101
102 -----------------------------------------------------------------------------
103
104 Any takers?
105
106 *) Fix regex so it isn't so stinking big
107 *) Fix glob so it isn't so stinking big
108 *) Documentation
109         - List all differences between the feature set of uClibc and glibc.
110 *) run 'nm -D --size-sort -t d libuClibc-0.9.5.so' and work on the biggest things 
111         (i.e. stuff at the end of the list) to make them smaller.
112 *) make inb/outb work for all arches.  This is complete for i386 and arm.  
113         Other archs like powerpc, still need fixing.
114
115 -----------------------------------------------------------------------------
116
117 PORTING
118 -------
119
120 bits/dirent.h currently differs from the glibc version (d_type unsupported)
121
122