Wykres commitów

12 Commity (3b9fec8c9bf2f6b15e059cefb9c3e99b668dfbb0)

Autor SHA1 Wiadomość Data
Alessandro Zummo 017696919b epson2: add infrared support
Adds infrared support for GT-X800 and GT-X700. Can be tested
by enabling the infrared frame type in sane.h and using
tiffscan (http://code.google.com/p/tiffscan/)

 tiffscan --mode=infrared --scan
2009-06-27 17:33:23 +02:00
Alessandro Zummo 3730e34c91 epson2: added support for color correction profiles
Color correction profiles have been imported from the epkowa driver.
The user can specify his own or let the backend choice. The
feature is not enabled by default.

This feature is in beta stage, works only for color scans
and automatic mode.

Enable with --color-correction 'Automatic'
2009-06-22 22:43:07 +02:00
Alessandro Zummo a2e6237f6e epson2: code cleanup
Style and dead code cleanup.
2009-06-18 11:39:04 +02:00
Alessandro Zummo c8e84cd579 epson2: reinstated i18n in backend options
This reverts commit 45fef7b043.
2009-06-17 02:29:31 +02:00
Alessandro Zummo 6cc0d7641f epson2: fixed whitespace trimming of model name
Whitespace trimming was incorrect for model names with
a space character.
2009-06-16 23:51:07 +02:00
Alessandro Zummo 94ec5cb8a8 epson2: fixed scanner detection
The scanner sources array was missing an entry in some
circumstances and this triggered an error checking
assertion.
2009-06-16 23:51:07 +02:00
Alessandro Zummo 3d223411cd epson2: avoid probing when device name is given
The code flow has been modified to avoid unnecessary probing
and double opening of a device. There's no more delay before
opening a networked scanner and the whole scan process begins
much earlier.

Accepted device names are:

 net:ipaddress
 net:hostname

 libusb:vendor:product

 pio:0xnnn

plus any form supported by the SANE scsi and usb
routines.

The code has been tested on network, scsi and libusb. Unfortunately
I do not have any parallel port based scanner.
2009-06-16 23:51:07 +02:00
Alessandro Zummo ebb98839d1 epson2: improved error detection in networking code, fixed buffer size
Error checking has been added when receiving the network
header and welcome message. Timeout has been added too and
a wrong buffer size has been corrected.
2009-06-16 17:27:27 +02:00
Alessandro Zummo 92f729ea83 epson2: removed invert image, cleaned up some code
Image inversion is something that can be handled by a frontend,
in the epson2 backend I want to avoid to add any complexity
that doesn't belong to the hardware.
2009-06-16 17:27:10 +02:00
Alessandro Zummo 45fef7b043 epson2: removed i18n from backend options
Internationalized backend options lead to incompatible shell
scripts, so they've been removed. A trailing dot has been removed
from some descriptions and a few includes moved around.
2009-06-16 17:27:10 +02:00
Alessandro Zummo e73177a177 epson2: allow get_devices to be called multiple times
The probing code has been streamlined and is now more maintenable.
The backend will probe when required and the get_devices hook can
be called multiple times. Transfer buffers are now selected based
on the connection type.
2009-06-10 21:09:05 +02:00
Alessandro Zummo 728e032a5a epson2 reorganization
Some subroutines have been moved from epson2.c to epson2-ops.c and
there's also a temporary fix for the networking code.
This is work in progress but should work.
2009-06-02 01:03:33 +02:00