/** Initiate a interrupt transfer read.
*
* Read up to size bytes from the interrupt endpoint from the device to
* buffer. After the read, size contains the number of bytes actually read.
*
* @param dn device number
* @param buffer buffer to store read data in
* @param size size of the data
*
* @return
* - SANE_STATUS_GOOD - on succes
* - SANE_STATUS_EOF - if zero bytes have been read
* - SANE_STATUS_IO_ERROR - if an error occured during the read
* - SANE_STATUS_INVAL - on every other error
*
*/
keep similar tests in one group. Moved more complicated tests to
acinclude.m4. Added explicit test for build and host system type. When
checking for programs, used $EXEEXT (hopefully fixes OS/2 gettext
misdetection). Removed obsolete macros. Removed PTAL check. Used autoconf for
asm/io.h check. Shortened --enable-foo output and formatted it
correctly. Translations were installed even if --disable-translations was
set. Don't test for msgcat anymore. Tell why translations aren't
installed. Used autoconf 2.5 syntax for AC_OUTPUT and AC_CONFIG_FILES. Make
sane-config executable. Print flags and installation directories near the end
of configure output.
usb_find_busses only once. Make sure that already opened devices aren't opened
again. Exit libusb scan loop if one device is found. Make error values more
expressive. Check for missing config descriptors before using them to avoid
segfaults.
Henning Meier-Geinitz <henning@meier-geinitz.de>
location. Also print the filename of the installed file, not only the
path. Both changes are mostly for package creators/maintainers.
Henning Meier-Geinitz <henning@meier-geinitz.de>
removed unused definitions in include/sane/saneopts.h:
SMEAR, TEN_BIT_MODE, TWELVE_BIT_MODE, RGB_PREVIEW_PATCH,
START_SCAN_PATCH
Added note about the file saneopts.h:
/* This file defines several option NAMEs, TITLEs and DESCs
that are (or should be) used by several backends.
All well known options should be listed here. But this does
not mean that all options that are listed here are well known options.
To find out if an option is a well known option and how well known
options have to be defined please take a look at the sane standard!!!
*/
converter used in many scanners (patch from from Marcio Luis Teixeira
<marciot@holly.colostate.edu>). Fixed sanei_thread Makefile.in entry.
Henning Meier-Geinitz <henning@meier-geinitz.de>
* backend/agfafogus.c: Moved PATH_MAX after sanei_backend.h include
to avoid warning. Changed printf to DBG.
* backend/mustek.c backend/mustek.CHANGES backend/mustek.desc: Added
support for translating options. Used only PACKAGE_VERSION for
output. Updated email address. New version: 1.0-107.
* include/sane/sanei_backend.h include/sane/saneopts.h: Added macro
SANE_I18N. It's used to mark strings that can be translated and
used by a frontend. Usually these are option titles and descriptions
as well as the contents of string lists. Used this macro to mark
the translatable strings in saneopts.h. More translation support
will follow.
* README: Updated xsane link.
* configure configure.in backend/dll.c backend/dll.desc
backend/net.c backend/net.desc include/sane/config.h.in
Yet another change in the version system for dll and net.
For sane_init return the version of the package but use
own internal version number in the source (printed with
debugging enabled) and in *.desc. The internal versions
of both net and dll are set to 1.0.1. Please increase the
build number with every change on the source files.
* doc/realeases.txt -> doc/releases.txt. Fixed spelling error.
Added entries about sane-backends.html, sane.ps, man pages,
platforms page.
* backend/mustek.c backend/mustek.desc backend/mustek.CHANGES
Added detection of the TA for the Paragon 1200 SP Pro. Added
warning about not supported Trust scanners. Changed description
of contarst and brightness settings. Backend status is "stable"
now. New version: 1.0-106.
* acinclude.m4 aclocal.m4: Fixed comment concerning dc240.
* configure configure.in include/sane/config.h.in: Added test for
socklen_t in sys/socket.h. This fixes the compilation problem on
Irix.
* doc/sane-avision.man doc/sane-ricoh.man doc/sane-s9036.man
doc/sane-tamarack.man: find-scanner is now called
sane-find-scanner and installed on the system so it's not
necessary to point to the tools directory.
* frontend/scanimage.c: Fixed too long line in output.
* sane-config.in: Name is sane-config again (was sane-backends-config
due to the renaming of the package).
* TODO: Removed entry about net.c not compiling on Irix and
references to find-scanner in the man pages. Updated numbers of
the compilation warnings. Still too many, however.