OSDN Git Service

8cfac9d7d4b11833ed1ce8bd0cb20c500b54eefe
[uclinux-h8/uClibc.git] / TODO
1 Erik's TODO list for the next release:
2
3     *) Implement getgrgid_r and getgrnam_r, per SuSv3 
4     *) When options are disabled, also disable them in the
5         include files as well.
6     *) Make all configured out symbols optionally add a linker warning saying
7         "Hey!  You are trying to use a function that you have configured out.  
8         If you really want to use this function, enable CONFIG_FOO and rebuild
9         uClibc".
10     *) Make all small objects (>~50 bytes) into either inlines or
11         into a static library
12     *) Document all differences between the feature set of uClibc 
13         and glibc.
14     *) Fix regex so it isn't so stinking big
15     *) Fix glob so it isn't so stinking big
16     *)  Fix the dlopen() bug with handling of symbols that are already
17         resolved.  Seems if it is already resolved it ignores them rather than
18         resolving the new symbol and overriding.
19     *) Adapt uClibc to use Linux 2.5.x pthreads
20
21 -----------------------------------------------------------------------------
22 Manuel's todo:
23
24 I'm currently working on completing the wide char and locale support.
25
26   1) Little things that need fixing:
27   ----------------------------------
28   *) Fix bug in *printf: outdigit precison bug
29   a) Use locale decimal point in *printf() and strto*d() -- slightly
30      complicated by the fact that at least one locale uses a wchar
31      radix that does not map to a single byte in UTF-8.
32   b) Use locale digit grouping in *printf() flosting point.
33   c) Deal with mb format string issues in scanf and strftime (at least).
34   d) Support gnu/bsd extension members tm_gmtoff and tm_zone in struct tm.
35   
36   2) Implement wide char floating point conversion functions -- wcsto*().
37   
38   3) Reimplement scanf for narrow and wide streams.
39   -------------------------------------------------
40      The current char version of scanf() needs some cleanup.  Also,
41      modifying the char version of scanf() to create the wchar versions
42      will require reworking the implementation of matching char sets
43      (enclosed in []).
44   
45   4) Additional str{f|p}time issues.
46   ----------------------------------
47   a) Spacing issue wrt strptime.
48   b) Support locale specific alternate digits.  (data is in place)
49   c) Support locale era in year designations.   (data is in place)
50   
51   5) Other locale issues (my implementation):
52   -------------------------------------------
53   a) Additional clean up of ctype and wctype, primarily to allow for mmap'd
54      locales and updateable locale data.
55   b) Build a C-only locale object for linking and allow full locale data to
56      be mmap'd in later, to allow updating and to make locale support useful
57      for staticly linked apps.
58   c) Adapt regex lib to use my collation data and add the necessary collating
59      item tables to support SUSv3 required features.
60   d) transliteration of unsupported wchars in 8-bit locales (like glibc).
61   e) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
62
63
64 Other stuff:
65
66 Reimplement _dtostr to correct its deficiencies (%A support!) and hopefully
67         reduce its size.
68
69 Move the target-specific sysconf.c generator to extra (as it needs to be
70         run on the target) and fix libc/unistd/Makefile.
71
72 Make errno and endptr handling the default in the strto* functions and
73         document how to turn those off to save space.
74
75 -----------------------------------------------------------------------------
76 ds's list:
77
78 Search for string literals that are not in the .rodata section.  (Varies
79 by architecture and gcc version.)
80
81 man pages for binaries
82
83 add obstack stuff for gettext (?)
84
85 check compiling without FP support -- are FP instructions still generated?
86 Needs a uClibc_config.h entry dependent on HAS_FLOATING_POINT.
87
88 Why does ld.so search /usr/powerpc-uclibc/lib before LD_LIBRARY_PATH?
89
90 -----------------------------------------------------------------------------
91
92 Any takers?
93
94 *) Documentation
95         - List all differences between the feature set of uClibc and glibc.
96 *) run 'nm -D --size-sort -t d libuClibc-0.9.5.so' and work on the biggest things 
97         (i.e. stuff at the end of the list) to make them smaller.
98 *) make inb/outb work for all arches.  This is complete for i386 and arm.  
99         Other archs like powerpc, still need fixing.
100
101 -----------------------------------------------------------------------------
102
103
104