Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:
$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c
And manually removing the comment from pieusb.c. Everything still builds
fine.
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320.
The __sane_unused__ symbol was used slightly more often then UNUSEDARG
and, more importantly, defined in include/sane/sanei_backend.h. That
makes it readily available to virtually all backends.
Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
- Added support for flatbed HP OfficeJets
- (PK) fix problem with cancel preview
hp-backend V 0.91, V 0.90, 02-Sep-2000, PK:
- fix timing problem between killing child and writing to pipe
- change fprintf(stderr,...) to DBG
- change include <sane..> to "sane.." in hp.h
- change handling of options that have global effects.
i.e. if option scanmode is received (has global effect),
all options that "may change" are send to the scanner again.
This fixes a problem that --resolution specified infront of
--mode on command line of scanimage was ignored.
NOTE: This change does not allow to specify --depth 12 infront of
--mode color, because --depth is only enabled with --mode color.
- add depth greater 8 bits for mode grayscale
- add option for 8 bit output but 10/12 bit scanning