* sanei/sanei_constrain_value.c: If constraint_type is
SANE_CONSTRAINT_RANGE and quantization is used, the results may
be outside the limits of the range because quantization uses the
orginal value. Fixed by doing quantization with the already
checked value.
if checked option is a range and the value is out of
range the value is now corrected to the minimum or maximum
allowed value and SANE_INFO_INEXACT is set.
The old version returned with an error. This caused problems
when the value was a little bit out of range because of rounding
errors.
Oliver Rauch
* TODO: Included TODO file for 1.0.4.
* sanei/sanei_ab306.c: Removed some comiler warnings.
* doc/sane.tex: Set \date to the date of the last change (not
the date of running latex (\today))
* frontend/xscanimage.c: Fixed image size overrun (>ca. 400 MB).
Removed some compiler warnings.
* doc/scanimage.man doc/saned.man: updated description of password
file
* sanei/sanei_auth.c frontend/saned.c frontend/scanimage.c: replaced
index() by strchr(). Changed style of password file
* backend/net.c: the net backend now prepends net:host: to the
resource before calling the auth_callback function
* lib/md5.c include/md5.h: added md5 functions from GNU textutils
* include/sane/sanei_auth.h sanei/sanei_auth.c: implemented new
SANE interface for user authorization using MD5 digest