Wykres commitów

75 Commity (b49deae017ea893f0ffbca44fa1c26b54ee4fb11)

Autor SHA1 Wiadomość Data
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
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).
2009-05-07 22:06:20 -05:00
Alessandro Zummo 3d05683f81 fixed TPU warmup retry 2009-04-25 13:55:06 +00:00
m. allan noah b85947768d backend/*.[ch]: more consistent #include "../include/sane/config.h" 2009-02-25 02:11:17 +00:00
Chris Bagwell b52b0c0c14 * backend/epson2.c backend/pixma_bjnp.c, include/sane/sanei_backend.h,
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
  removing usage of MSG_WAITALL since not all platforms support
  that (cygwin).  Default is to be blocking anyways.  Changed
  usage of MSG_NOTWAIT to use fcntl() function as needed as well.
  * configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
  strcasestr() for platforms missing it (cygwin).
  * pixma_common.c: My source match header prototype for picky
  compilers (cygwin).
  * backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
  yet debug to be SANE_DEBUG_UMAX_PP to match man page.
2009-01-29 15:10:19 +00:00
Alessandro Zummo 7ee4156e7d do not use request_identity2 with
networked scanners, fixed generation of resolution list.
2009-01-15 19:18:05 +00:00
Alessandro Zummo 642e29f9be backend/epson2.c: changed version code, added protection from wrong settings. 2008-12-26 22:02:32 +00:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
Alessandro Zummo 9227e7d6bc fixed bug when an extended command
was used with D8 level scanners. bug reported
by Kare Sars <kare.sars@kolumbus.fi>
2008-11-18 20:26:55 +00:00
Julien BLACHE 89b77cef58 Initialize s->fd to -1 once the struct Epson_Scanner is allocated and zeroed
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.
2008-05-03 14:43:07 +00:00
Alessandro Zummo e16b0e2051 backend/epson2.c: fixed attach() error path. 2008-04-18 21:24:32 +00:00
Mattias Ellert 1aaed781b6 Fix format warnings 2008-02-03 12:09:09 +00:00
Mattias Ellert af663bc5e7 Fix format warnings 2008-02-03 10:34:20 +00:00
Mattias Ellert 74c81b6daf Fix deps and missing includes 2008-02-02 21:18:13 +00:00
Alessandro Zummo f31871bd6d changed functions prefix (esci_ for device commands,
e2_ for driver's functions), better handling of tpu area,
fixed tpu detection, changed freeing of line buffers,
fixed some XXXs.
2008-01-09 17:10:08 +00:00
Alessandro Zummo 4cf7b16449 backend/epson2.c, added network scanner autodiscovery 2007-12-26 11:34:17 +00:00
Alessandro Zummo 569bdc5300 fixed model detection,
depth detection and removed some unused
variables.
2007-12-15 11:37:53 +00:00
Alessandro Zummo 83e5a63060 use epson2_model where possible,
fixed segmentation fault.
2007-12-10 17:32:54 +00:00
Alessandro Zummo 26e167cdec backend/epson2.c: removed quick-format option. it's
the job of a frontend to provide such a commodity.
removed confusing parameters (preview-speed, speed).
when a preview is requested, the scanner will be
set to high speed (if possible).
removed references to the never implemented zoom function.
the function that shortened the list was actually
missing the first entry.
more resolutions addedd for networked scanners.
added support for Perfection 4990 (Claus Boje).
2007-11-18 09:36:04 +00:00
Julien BLACHE 7ca41423ac OPT_NUM_OPTS must be of type SANE_TYPE_INT. 2007-10-26 14:56:38 +00:00
Alessandro Zummo 7a34d599e5 * sanei/sanei_tcp.c: added a missing include
* backend/epson2.c: fixed a bug while moving scanner data,
removed support for line mode (block or ext modes will be used).
2007-01-20 20:59:05 +00:00
Mattias Ellert 5d42e90718 String harmonization 2007-01-20 14:46:25 +00:00
Alessandro Zummo bf5a1290f7 * epson2: restructured code once more, splitted
in multiple files, added networking
support, added FS G extended handshaking mode,
make proper use of extended commands when possible
* sanei/sanei_tcp.c: read now wait until all
the requested data is available.
2006-12-18 00:13:09 +00:00
Alessandro Zummo 35d54905e8 epson2: removed calls to alloca(), code reorganization fixed a bug
with request_extended_status (reply length is 33 on older scanners).

include/.cvsignore: added two more entries
2006-12-12 01:12:07 +00:00
Alessandro Zummo 48b02b3489 epson2: reordered includes, replaced __FUNCTION__, use the new byteorder macros
moved acbyteorder.m4 to m4/byteorder.m4, added m4/stdint.m4
2006-12-07 19:28:02 +00:00
Alessandro Zummo 735130b0ff Added missing bits for epson2 driver. 2006-12-02 14:47:21 +00:00