home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / gdm / TODO < prev   
Encoding:
Text File  |  2007-04-09  |  2.5 KB  |  55 lines

  1.  
  2. This file is just a place to note ideas about GDM that are maybe
  3. experimental or not significant enough to report a bug.  Refore
  4. to http://bugzilla.gnome.org in the "gdm" category for the real 
  5. TODO list for GDM.
  6.  
  7.  + On Solaris GDM uses /etc/logindevperm (see README.install)
  8.    and it might be useful to simply make GDM's PreSession and
  9.    PostSession scripts process /etc/logindevperm directly and
  10.    not call the library interface on Solaris.  
  11.  
  12.  + Big TODO: Rewrite the slave to be based around a mainloop.
  13.    So that we don't have to do things directly from signal handlers.
  14.    Some work has already been started by making the slave use select
  15.    calls instead of waitpid.  This needs to be extended a bit.  The
  16.    big issue is things that hang.  We need two things, some better
  17.    general framework for things that hang and handling signals there 
  18.    (see daemon/misc.c for solution when using gethostbyaddr in the
  19.    main daemon).  We also need some way to do something like
  20.    "sleep(5)" with the mainloop nicely.  We want the slave to still
  21.    be very synchronous, but just have some small handlers run from
  22.    within the mainloop.  The one thing that will always cause
  23.    trouble here is the XDMCP server pinging, I think in this case
  24.    it would be sane to do the setjmp thing and just ignore the ping
  25.    if a signal comes, not sure how this will play with the X stuff
  26.    and if this would completely whack us out.  The other option is
  27.    to have a separate "pinger process" but that seems to
  28.    heavyweight.  Another option here is to give up on complete
  29.    mainloopishness and during pinging set up an alarm or some other
  30.    polling thing that checks all the mainloops stuff.
  31.   
  32.  + Resource limits have been implemented into the GDM slaves, but
  33.    perhaps more could be done.  Always keep eye out for leaks.
  34.  
  35. Small TODO things:
  36.  
  37.  + If we can't setup PAM display user visible errors and not just
  38.    syslog stuff
  39.  
  40.  + Languages should be read from available locales.   Right now the code
  41.    stats each file in /usr/locale, which is slow.  Would be faster to
  42.    do a readdir on the direction and process them without doing stats.
  43.  
  44. Perhaps stuff:
  45.  
  46.  + Keyboard layout menu.
  47.  + native utmp/wtmp handling without sessreg
  48.  + xsri like logo functionality
  49.  + Handle all the XFree86 Xserver error thingies, such as No "Display"
  50.    subsection for etc...
  51.  + Add spacer files.  Files which we can use in case there is disk
  52.    shortage to write a new xauthority stuff so that someone can
  53.    actually log on and clean up.  Is this crack?  Maybe.
  54.  
  55.