out in attach(). Otherwise the backend sends inquiry data to fd 0, which it
obviously shouldn't do; this breaks scanning over saned.
Thanks to Giuseppe Sacco who experienced the issue and pointed to epson2 as
the probable cause.
- page code 32 is not color interlacing, rename to 'unknown'
- increase number of bytes in response buffer of init_ms()
- protect debug modification code in init_ms() if NDEBUG is set
- proper async sane_cancel support
- re-enable JPEG support
- replace s->img_count with s->side
- sane_get_parameters(): dont round up larger than current paper size
- sane_start() rewritten, shorter, more clear
- return values are SANE_Status, not int
- hide unused functions
When sending out a SANE_NET_CONTROL_OPTION RPC for the SANE_ACTION_GET_VALUE
action (and SANE_ACTION_SET_AUTO for the network protocol versions < 3), the
backend was not clearing the memory area for the value argument before
sending it over the network, resulting in an information leak for the
SANE_ACTION_GET_VALUE case.
- fixed allocation bugs detected by valgrind
- fixed bugs detected by 'tstbackend -r 1 -l 1'
- allow 'genesys' as default value for backend opening
- made OPT_COLOR_FILTER effectively work for GL646 scanners
- split sane_control_options() to make it more readable
- added: Pixma MP210, MP470, MP520, MP610
- added: MultiPASS MP710
- declared untested: MP140, MP220, MultiPASS MP740
- declared experimental and untested: MP970
Bugs and fixes
- multipage documents scan no more fails with non-ADF MPs
- IO Fail bug when scanning large pages e.g. with Xsane
- implement send_time message form MP710, MP730 family
- run indent -gnu on all pixma_* source files.
with partial matches on USB ID, but vendor / product string
matches as mostly only the HP5300 vs. HP5370, fixed non-color
calibration for devices not filling all RGB fields of calibration
format information, do not send 3x3 color matrix to older devices
(ASIC versions) as some HP53xx does not correctly handle it,
improved calibration accuracy and fixed transparency adapter
detection to not use non-zero as present, but just 1 (some
devices now set 0xff as (-1) - not present ...