TODO 4.7 KB

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