Wykres commitów

3824 Commity (15aebab5149a767e02e25b47abb7145f7fa6f668)

Autor SHA1 Wiadomość Data
Earle F. Philhower, III 5e5183c84e Return NO_DOCS after last ADF page, not IO_ERROR
When scanning from ADF in MP150 based scanners, after the last page is
scanned the XML session-close was sent.  However, when using the ADF, if
the frontend called sane_start/sane_read(), it would try and send an
XML command that was not valid after the session abort.  This would give
an IO error up through the stack.

Now, check if ADF scanning is happening and on reads after the last page
return SANE_STATUS_NO_DOCS on read. and abort.

Finally, minor fix of max DPI for Pixma MAXIFY MB21xx/27xx to 1200 DPI.
2018-05-16 07:09:00 -07:00
Robert A. Schmied 9d315bc2f7 Fix typo in debugging statement 2018-05-14 21:31:22 +09:00
Rolf Bensch a1c42247ab pixma: backend version 0.17.47 2018-05-12 20:55:35 +02:00
Earle F. Philhower, III d90f9054c6 Add JPEG scanning, MB2100/2700 to PIXMA
The Maxify scanners seem to only be able to return JPEG data for ADF
sources.  Attempting to send a gamma LUT will result in an error on
sane_start when trying to use the ADF.  Flatbed scanning is unaffected
and runs fine with LUTs like prior models.

This patch adds support to the PIXMA backend for returned JPEG scans
and keys it off of the new capability, ADF_JPEG.

Tested on a Maxify MB2120 using the ADF and the flatbed scanner.

This may also fix other Maxify MB* models where it seems the ADF does
not with with the prior code, but I only have the MB2120 to test.
2018-05-10 19:11:35 -07:00
Olaf Meeuwissen c6bfe88c31 Update mailing lists addresses to new location 2018-04-18 21:36:00 +09:00
Olaf Meeuwissen a78969384b autotools: Sync derived files
This was done by running

  libtoolize --copy
  autoreconf --force --install

on Debian GNU/Linux 9.3.
2018-03-17 10:35:57 +09:00
Rolf Bensch a5ae2dad1d pixma: backend version 0.17.46 2018-03-11 12:08:18 +01:00
Rolf Bensch 12dbae0fc5 pixma: MB2300 Series has no duplex document scanner 2018-03-11 12:06:51 +01:00
Rolf Bensch 4f156894db pixma: add button support for MB2300 Series 2018-03-11 11:13:43 +01:00
Rolf Bensch b6873cfa5a pixma: backend version 0.17.45 2018-01-03 21:01:32 +01:00
Rolf Bensch a873a5e444 pixma: new scanner Canon i-SENSYS MF630 Series [#315892] 2018-01-03 21:00:51 +01:00
Rolf Bensch e6db7a8f14 pixma: new scanner Canon i-SENSYS MF630 Series 2018-01-03 20:52:39 +01:00
Rolf Bensch 463e010f1a pixma: new scanner Canon i-SENSYS MF620 Series
many thanks to Markus Heiser
2018-01-03 20:07:33 +01:00
Olaf Meeuwissen d6a93b83a7 epson2: Add Expression 12000XL / DS-G20000 as supported
Also removed stale comment in epson2.desc.

See https://lists.alioth.debian.org/pipermail/sane-devel/2017-November/035744.html
2017-11-18 17:47:14 +09:00
Rolf Bensch c51af8fd99 pixma: fix typos 2017-11-14 22:16:40 +01:00
Rolf Bensch 0a62202e95 pixma: backend version 0.17.44 2017-09-01 12:15:40 +02:00
Rolf Bensch 055c3ffa86 pixma: new scanners Canon PIXMA E410 Series, E3100 Series, G2000 and G3000 2017-09-01 12:15:10 +02:00
Rolf Bensch 61ca162fc0 pixma: fix definitions for PIXMA G4000 2017-09-01 12:07:57 +02:00
Rolf Bensch d78013afc6 pixma_mp150: fix comments for generation 5 scanners 2017-09-01 11:52:39 +02:00
Rolf Bensch fef19d7740 pixma: backend version 0.17.43 2017-08-31 20:34:32 +02:00
Rolf Bensch 450e55c230 pixma_mp150: send XML end of scan dialog also for generation 5 scanners 2017-08-31 20:32:53 +02:00
Olaf Meeuwissen 5a0e30b5e3 epson2: Add the Epson XP-243 245 247 Series as supported
See https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=315818&group_id=30186
2017-08-17 21:34:11 +09:00
Olaf Meeuwissen 1e87016dca epson2: Add the Epson XP-427 as supported
See https://alioth.debian.org/tracker/index.php?func=detail&aid=315805&group_id=30186&atid=410366
2017-08-12 15:07:07 +09:00
Olaf Meeuwissen 519ff57bed install: Make sure configuration files get created before install 2017-08-12 15:03:51 +09:00
Olaf Meeuwissen f88b5ea2b6 umax_pp: Fix [-Wsign-compare] compiler warnings 2017-07-22 15:31:42 +09:00
Olaf Meeuwissen 14e701438d umax_pp: Fix [-Wunused-but-set-variable] compiler warnings 2017-07-22 14:19:02 +09:00
Olaf Meeuwissen 772f31d4a0 umax_pp: Fix [-Wunused-variable] compiler warnings
The variable declaration section has been completely rewritten to
follow the #ifdef structure of the function's implementation.
2017-07-22 14:02:10 +09:00
Olaf Meeuwissen 1f8bfd69a2 dell1600n_net: Fix [-Wincompatible-pointer-types] compiler warnings
This casts the pointers to the type expected by the functions as per
POSIX stipulations.

See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
2017-07-18 21:08:13 +09:00
Olaf Meeuwissen f18ab2e2a2 plustek-pp: Replace sys/signal.h include with signal.h
All other backends already `#include <signal.h>` directly, without any
configure time checking or problems.

Fixes [-Wcc] compiler warning on Alpine.
2017-07-15 22:48:29 +09:00
Olaf Meeuwissen 68ec98d7b1 hp3500: Fix [-Wunused-function] compiler warning
The sigtermHandler is only used when _POSIX_SOURCE is defined.
2017-07-15 22:15:18 +09:00
Olaf Meeuwissen 73861ea91c pixma: Fix [-Wint-conversion] and [-Wpedantic] compiler warnings
These are also related to the SANE_Pid type issues.
2017-07-15 17:11:06 +09:00
Olaf Meeuwissen 3caf05c033 hp: Fix [-Wint-conversion] compiler warnings
Don't do yourself what sanei_thread does for you already ;-)
2017-07-15 17:00:08 +09:00
Olaf Meeuwissen df1aba21bc SANE_Pid: Fix [-Wint-conversion] issues
Not all pthreads implementations use an integer type for pthread_t.
As a matter of fact, POSIX has explicitly withdrawn the requirement
that it must be an arithmatic type.

The musl C library uses a `struct __pthread *` which triggered the
warnings.  As of this change, sanei_thread.h works around this by
providing two new macros to help keep this issue out of sight.  All
backends have been changed to use these macros.
2017-07-15 14:47:54 +09:00
Olaf Meeuwissen 3eb3d6b9bf plustek-pp: Fix [-Wmisleading-indentation] compiler warnings 2017-07-12 21:20:12 +09:00
Rolf Bensch 48cb209f2a pixma: backend version 0.17.42 2017-07-11 14:02:11 +02:00
Rolf Bensch 611647b61c pixma_imageclass.c: restrict image width to 215mm for i-SENSYS MF240 Series
this scanner produces black stripes in 216mm wide images @ 600dpi
2017-07-11 14:00:40 +02:00
Rolf Bensch 02a4ec11bf pixma: backend version 0.17.41 2017-07-10 23:12:56 +02:00
Rolf Bensch 49ae62618c pixma_mp150.c: new generation 5 for scanners without special image format @ high dpi 2017-07-10 23:06:29 +02:00
Rolf Bensch fbbb6cabf3 pixma: fix capabilities for TS* Series 2017-07-10 21:47:40 +02:00
Rolf Bensch b5f78dd081 pixma_imageclass.c: fix image block size calculation for particular scanners 2017-07-10 21:46:57 +02:00
Olaf Meeuwissen 0bf4595273 plustek: Fix [-Wpedantic] compiler warning
The warning reads:

  enumerator value for '_PS_INP_MIO6' is not an integer constant
  expression

and that comes about as _PS_INP_MIO6 evaluates to 0x8000000, which
does not fit in the *signed* integer range which has been allotted
to enumeration constants by ISO C99.

Seeing that the _PS_INP* values appear to be bitflags (despite the
arithmatic additions in backend/plustek-usbdev.c!) it is safer to
use #defines instead of an enum.
2017-06-26 19:19:52 +09:00
Olaf Meeuwissen a74cb99c1a u12: Fix [-Wmisleading-indentation] compiler warning
It appears that what the compiler has to do is what was intended.
Fixing the indentation to make that clearer.
2017-06-26 18:19:27 +09:00
Olaf Meeuwissen 6ad9e8479d pixma: Fix [-Wmisleading-indentation] compiler warning
There is no point in falling through the case branch so the break
should be at the same level as the if.
2017-06-26 18:07:11 +09:00
Olaf Meeuwissen 08e1ba1286 pieusb: Fix [-Wmisleading-indentation] compiler warning
The indentation has been aligned what is used inside the while loop.
The function appears to have been copied from elsewhere and slightly
modified.

The msg variable is set to NULL inside the if branch for efficiency
only.
2017-06-26 18:01:34 +09:00
Olaf Meeuwissen 3191056a4c microtek2: Fix [-Wmisleading-indentation] compiler warnings
The case branches have been made to follow other case branches in the
same switch.
2017-06-26 17:58:44 +09:00
Olaf Meeuwissen e04261673f magicolor: Fix [-Wmisleading-indentation] compiler warning
The assumption is that the failure should be returned to the caller.
2017-06-26 17:57:14 +09:00
Olaf Meeuwissen 0f90a5c2e3 hp: Fix [-Wmisleading-indentation] compiler warning
Indentation based on the style used in the immediate neighbourhood.
The file uses a mix of styles though.
2017-06-26 17:55:30 +09:00
Olaf Meeuwissen 2ff1d7da59 genesys: Fix [-Wmisleading-indentation] compiler warning
The fix is based on similar code in backend/genesys_gl846.c and fixes
a potential infinite loop as well.
2017-06-26 17:52:08 +09:00
Olaf Meeuwissen 5098b9bfbb genesys: Fix [-Wmisleading-indentation] compiler warnings 2017-06-26 17:51:40 +09:00
Olaf Meeuwissen a1133aa194 pnm: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:28:54 +09:00