[dev] Current TODO list

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Wed Jun 13 2001 - 12:54:22 PDT

  • Next message: Tim Waugh: "Re: [dev] Current TODO list"


    Here is the TODO list fresh from CVS. I don't see any release critical
    things currently. However, it would be nice to fix the problem with
    net (sys/socket.h) on OS/2 before release.

    I'm away until Sunday evening but will test sane on all "my" systems
    during the next week again.

    TODO (2001-06-10)

    ******** todo ********

      * Configuration problems:
        - add options "--exec-prefix=...." and "--prefix=..." compareable
          to gtk-config

        - add warning when prefix dir is not listed in /etc/ld.so.conf on
          linux systems may be there is a general way to test this if the
          destination library directory is in the search path of the
          linker. [The correct fix is to use -R (on Solaris) and -rpath
          (on the rest?) to include the dynamic link path in the binaries
          / libraries. pere 2001-02-09 -- I believe this is partly fixed
          in tools/sane-config.in 2001-05-18]

      * Add new backends (?)
        - primax http://primax.sourceforge.net/
        - hp4200 http://hp4200-backend.sourceforge.net/
        - v4l2 http://video.inodes.org/sane-v4l2/
        - Relisys Scorpio Super 3 SCSI II
          Mark Plowman <mplowman@wxs.nl>
        - Linux Handscanner Ioctl Interface scanner by Harald
          Bauer <bauer-h@web.de>
        - viceo (Visioneer OneTouch 8600)
        - Mustek 1200 UB backend
        - bearpaw (Mustek BearPaw 1200 + maybe 2400)
          Henning Meier-Geinitz <hmg@gmx.de>
        - Genius Vivid Pro USB, Colorado USB 19200, Visioneer OneTouch 7600
          IBM IdeaScan 2000 USB
        - Fujitsu M3091DCd support
          Frederik Ramm <frederik@remote.org>
        - Canon FB620S flatbed scanner and FS2710 film scanner
          Ulrich Deiters <ukd@xenon.pc.Uni-Koeln.DE>

      * Update backends
        - Combine all the Fujitsu backends into one single backend

      * Use DBG(...) instead of fprintf(stderr, ...) or printf
         - microtek

      * Check net/saned
         - sometimes saned+net freezes right after a scan (is this still
           occuring 2001-06-04?)
         - don't just ignore the byte-order for the image data (needed to
           support depths > 8 bits/channel)
         - saned times out after 5 minutes (now 60 minutes). Check if the
           watchdog timer is really necessary (e.g. to avoid blocking scanners
           by one user). Maybe add an command line option to saned to set the
           timeout. Otherwise turn on TCP keep alive (where available) and
           (maybe) check the connection from server side.

      * qcam:
         - implement auto mode for brightness and black-level (don't
           just advertise it!) Actually, implement an auto "backend" instead
           that can be plugged in front of any backend with brightness/contrast
           etc controls
         - figure out how/if to support bulb mode
         - convert to use sanei_pio functions instead of direct port
         - Check file handling in /tmp.

      * dc210 and jpeg stuff: move sanei_* functions to sanei/ (if they are

      * v4l: Problems (crash) with more than one video card. It looks like
        the two different cards are identified as the same card.

      * Fix backends where sane_exit() do not release memory allocated by
          - abaton
          - agfafocus
          - apple
          - as6e
          - avision
          - bh
          - canon
          - coolscan
          - dmc
          - m3096
          - microtek
          - qcam
          - ricoh
          - s9036
          - sharp
          - sp15c
          - tamarack
          - etc?

      * as6e: attach: memory (dev + dev-sane.name) isn't freed if diver isn't

      * avision: line 1393: word isn't freed sometimes (maybe if cp == line?)

      * add a contact address for each backend (in backend.desc).


      * Add sane-usb manpage

    * Documentation for sanei API - any ideas for this? - Options: - Doxygen, <URL:http://www.stack.nl/~dimitri/doxygen/> - ROBODoc, <URL:http://www.xs4all.nl/~rfsber/Robo/>

    * sane.tex: Define the return values for sane_init? Define the consequences if sane_init do not return SANE_STATUS_GOOD.

    * Update backend manpages

    * Check for logical errors and spelling - agfafocus (CONFIGURATION: Microtek scanners? SANE_DEBUG_AGFAFOCUS: SANE_DEBUG_UMAX values? Last paragraph of DEBUG) - apple (Compression (AppleScanner), Multiple Windows (AppleScanner), ftpdev.info.apple.com doesn't exist, DEBUG) - artec (BUGS) - mustek_pp (SEE ALSO, there is no sane-musteka4s2(5)) - plustek: (http://www.linuxhacker.org/listscgi-bin/ezmlm-cgi/3: not found!) - umax_pp (DESCRIPTION: "sticky" bit --> isn't this the "setuid" bit?; DEVICE NAMES: "...only one parallel port this port...")

    * Check for formatting bugs in manual pages: - apple (The list of scanners doesn't look like a table) - artec (CONFIGURATION: F<artec.conf> and similar) - nec (DESCRIPTION, list doesn't look like a table) - pie (Last two lines in table are not aligned; the last .PP generates a new page) - sharp (table isn't aligned)

    * If you mention sane-devel, also mention the website concerning subscription (http://www.mostang.com/sane/mail.html), because you can't write to sane-devel without subscribing. Or use your own mail address in the manual page. - abaton - agfafocus - apple - bh - epson - hp - microtek - pint - st400 * Use @LIBDIR@, @CONFIGDIR@ and the other @@ macros to refer to paths. These are updated when installing to a non-standard prefix. - umax frontends --------- * dll: Rewrite to use libtool ltdl library

    * Add a check in the frontends if the backend delivers more data than it announced by sane_get_parameters to avoid segfaults with bad backends?

    * scanimage: Maybe add ADF extensions from Caskey Dickson (or add them to scanadf if necessary).

    [the remaining entries have been moved to the sane-frontends package]

    sanei ----- * create sanei_parport_* and remove all inb, outb,... from all backends (for sane-1.0.6)

    * create sanei_usb.* (maybe containing access for libusb and direct access for usb device files)? (sane-1.0.6)

    misc ---- * Remove compiler warnings (>300 warnings even in disable-warnings mode, >700 with --enable-warnings))

    * Test SANE on different os/platforms, fix possible compilation problems Test methods: scanimage -d pnm:0 --filename=file.pnm -T scanimage -d net:localhost:pnm:0 --filename=file.pnm -T (start saned by inetd or saned -d before testing) xscanimage / gimp with xscanimage plugin (where available) All the above with shared and static libraries.

    * move .desc files for backends that are not included in SANE to different directory (e.g. backends and external-backends)?

    * Use #include "../include/sane/..." instead of #include <sane...>

    * Use #include "../include/lalloca.h" instead of #include <lalloca.h>

    * Check include/sane/config.h.in for unnecessary macros.

    * Add configure option to enable only the net backend for users without local scanners. Install only sane-dll/sane-net (or even only sane-net). Maybe something like --network-client-only or --disable-local-devices.

    * Add USB support for sane-find-scanner.

    * check memory leaks (checked with purify and mtrace (from glibc)):

    * Use #include "../include/assert.h" instead of #include <assert.h> to avoid problem with shared libraries on AIX.

    * Add installation procedure for translations of SANE backend's options.

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    This archive was generated by hypermail 2b29 : Wed Jun 13 2001 - 12:46:25 PDT