Wykres commitów

4141 Commity (041ea5f53c3330b84a9462b42032783ed770b51d)

Autor SHA1 Wiadomość Data
m. allan noah 057a10e984 move three scanners to unsupported.desc
These three machines are unsupportable by fujitsu backend. Remove
them from fujitsu backend files.
2019-02-23 15:14:34 -05:00
m. allan noah 941f6bb380 remove nonexistant scanners
the fi-6125 and 6135 were never released, though they showed in
some old versions of the windows driver. here, we remove them.
2019-02-23 14:54:48 -05:00
Mike Ferrara eadd663676 Merge branch 'master' into mikef-MF733C 2019-02-22 10:40:29 -08:00
Mike Ferrara 7277cec027 Mods to support imageCLASS MF733Cdw USA color laser MFP 2019-02-22 10:35:24 -08:00
Rolf Bensch c9c0d956c6 pixma: backend version 0.21.0 2019-02-20 19:16:01 +01:00
Rolf Bensch 7bbc9bf1c7 pixma: new scanner CanoScan LIDE 300
See issue sane-project/website#18
2019-02-20 19:16:01 +01:00
Rolf Bensch ab1b746c69 pixma: add button support for CanoScan LiDE400 2019-02-20 19:15:52 +01:00
pekhterev d978494096 pixma: new scanner CanoScan LiDE 400
See merge request sane-project/backends!36
2019-02-20 17:44:44 +00:00
Manuel Argüelles 60dffda603 Add mention of company contributing to canon_dr.c 2019-02-08 22:40:15 -05:00
Alex Belkin 2b0c7a3170 xerox_mfp: Add Samsung C480W usb id
Reported in #54 by Lambrigts walter.
2019-02-05 15:19:27 +03:00
Piraty fd18d197f8 xerox_mfp: Add Samsung Xpress M2070
Device is tested with latest sane (1.0.27) on several Linux
distributions (Void Linux + Ubuntu), using the proposed addition.

Frontends used to test are: simple-scan and xsane
2019-02-04 23:01:30 +01:00
Olaf Meeuwissen 4354fc7f6d Merge branch '7-discolored-bar-on-scan-canolide-200-from-1-0-25-onwards' into 'master'
Restore slow_back_home use, disable rewind for gl847

Closes #7

See merge request sane-project/backends!34
2019-01-21 11:51:48 +00:00
Bernhard Übelacker 93340afddf mustek_usb2: Avoid stack smashing. Fixes #35
Use a properly sized variable in call to sanei_usb_{read,write}_bulk.

Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886777
Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907972
2019-01-21 20:21:55 +09:00
Rolf Bensch 99abf80410 pixma: backend version 0.20.0 2019-01-01 14:25:23 +01:00
Rolf Bensch 8fdc6f79ea Revert "pixma: backend version 0.19.0"
This reverts commit dd6e263241.
2019-01-01 14:24:41 +01:00
Rolf Bensch 46ef5ffa41 pixma: update copyright 2019-01-01 14:24:27 +01:00
Rolf Bensch 107f334d7f pixma: update copyright 2019-01-01 14:20:46 +01:00
Rolf Bensch dd6e263241 pixma: backend version 0.19.0 2019-01-01 14:14:19 +01:00
Rolf Bensch ff021ddcf9 pixma: new scanner Canon imageCLASS D550 2019-01-01 14:13:58 +01:00
Gerhard Jäger ac83c8110c Merge branch 'plustek-fix-color-banding-64bit' into 'master'
backend/plustek: fix "color-banding" on 64bit

Closes #42

See merge request sane-project/backends!33
2018-12-31 14:13:26 +00:00
Gerhard Jäger 36648cba52 Merge branch 'lide700' into 'master'
Fix a bug with Canon LiDE 700 where bright areas overflow

See merge request sane-project/backends!32
2018-12-31 14:09:56 +00:00
Rolf Bensch 2d14283d0c pixma: backend version 0.19.0 2018-12-20 12:57:14 +01:00
Rolf Bensch 2f3cdcb580 pixma: new scanner Canon PIXMA TS9500 Series 2018-12-20 12:56:47 +01:00
Nico R 08a638dc31 xerox_mfp: Add Samsung Xpress C1860FW
Device status is “untested”, because it was not really tested _in depth_.
Basic scanning of a number of pages using the automated feeder worked.

See https://alioth-lists.debian.net/pipermail/sane-devel/2018-October/036411.html
2018-12-19 18:42:51 +09:00
Olaf Meeuwissen 00d31e14f8 genesys: fix [-Wunused-function] compiler warning 2018-12-16 22:25:12 +09:00
Olaf Meeuwissen d609de285b Restore slow_back_home use, disable rewind for gl847
See #7.
2018-12-16 22:03:43 +09:00
Michał Wróbel d71f5e4bc8 backend/plustek: fix "color-banding" on 64bit
Fixes https://gitlab.com/sane-project/backends/issues/42
2018-12-09 23:30:32 +01:00
Mark Hills 47f9b1eeed Fix a bug with Canon LiDE 700 where bright areas overflow
On this scanner, white areas are easily seen to become yellow, implying
some kind of integer overflow in the blue channel first, followed by
others.

I can't be 100% sure this is the correct fix without knowing more about
the design or having a data sheet; this "target_code" was established
experimentally.

This is a fix to issue #43.
2018-12-01 21:23:10 +00:00
Mark Hills 4423421806 A switch statement prepares us for additional entries
Avoid the negative 'if' case which is harder to reason about. Preparing
for new entries to be added here.
2018-12-01 21:00:47 +00:00
Manuel Argüelles 1bc6ade107 Fix image displacement for lineart/halftone during hardware crop
Increases the width of the image if the reported size is less than the byte
boundary.
2018-11-30 10:50:13 -05:00
Manuel Argüelles ecac81eee2 Set scan area to maximum when hardware crop is enable 2018-11-12 14:01:24 -05:00
Olaf Meeuwissen 0af6149aa8 Merge branch 'master' into 'master'
Add new backend ricoh2

See merge request sane-project/backends!20
2018-11-04 11:33:33 +00:00
Stanislav Yuzvinsky 9cf0de7559 Address review comments 2018-11-02 23:12:44 +03:00
Rolf Bensch 6f797d94e5 pixma: backend version 0.18.2 2018-10-28 12:29:36 +01:00
Rolf Bensch 1675697366 pixma: MP490 Series doesn't need special image formatting @ high dpi 2018-10-28 12:28:11 +01:00
Martin Güthle f111032e7f as6e: Avoid out of bound access
This fixes a crash due to a stack corruption.
To reproduce the bug, set a path within the PATH variable, to something,
which exceeds 128 chars. Maybe more chars are needed, to reach the stack
corruption.
2018-10-25 09:08:35 +02:00
Rolf Bensch 54aa154d91 pixma: backend version 0.18.1 2018-10-24 20:25:40 +02:00
Laurent Kap 1846b0381e Adds button support for Pixma MG5350 2018-10-17 21:30:17 +00:00
Gerhard Jäger 54c42b04a8 Merge branch 'lide80-increase-bright-point' into 'master'
backend/genesys: Increase excessively low bright point on Lide 80 calib

See merge request sane-project/backends!10
2018-10-11 07:36:54 +00:00
Gerhard Jäger f633bad6ec Merge branch 'lide80-reduce-dark-area-offset' into 'master'
backend/genesys_gl841: Reduce extra dark area offset for Lide 80

See merge request sane-project/backends!9
2018-10-11 07:34:14 +00:00
Gerhard Jäger 030153b39b Merge branch 'lide80-disable-ledadd' into 'master'
backend/genesys_gl841: Disable LEDADD on Lide 80 since it's broken there (fixes issue #12)

Closes #12

See merge request sane-project/backends!7
2018-10-11 07:33:24 +00:00
Gerhard Jäger 6abb072ded Merge branch 'master' into 'master'
genesys: Add buttons to LiDE 60

See merge request sane-project/backends!6
2018-10-11 07:29:59 +00:00
Rolf Bensch b31ef5e4aa pixma: backend version 0.18.0 2018-10-08 21:25:47 +02:00
Rolf Bensch e8bdbe1f50 pixma: new scanners Canon MAXIFY MB5100, MB5400 Series 2018-10-08 21:24:51 +02:00
Rolf Bensch b5e92b8b8d pixma: new scanners Canon PIXMA TR7500, TR8500, TS3100, TS5100, TS9100 Series 2018-10-08 21:24:04 +02:00
Stanislav Yuzvinsky d62ba623b2 Add new backend ricoh2 2018-09-29 11:16:28 +03:00
Rolf Bensch 0b811391a9 pixma: new scanner i-SENSYS MF410 Series 2018-09-13 19:07:42 +02:00
Rolf Bensch e8b11ec2eb pixma: backend version 0.17.51 2018-09-13 18:43:55 +02:00
Rolf Bensch 3b5223b16b pixma: new scanner imageCLASS D570 2018-09-13 18:43:31 +02:00
Rolf Bensch 01533e2e3e pixma: backend version 0.17.50 2018-09-12 22:09:06 +02:00
Rolf Bensch dbecf846d5 pixma: new scanner TS6100 Series 2018-09-12 22:08:41 +02:00
Mikhail Strizhov 1484b47582 add support of Plustek OpticSlim 500+ 2018-09-06 12:36:26 +03:00
Rolf Bensch 5230430a57 pixma: backend version 0.17.49 2018-08-27 21:57:24 +02:00
Rolf Bensch eb11c2fc94 pixma: new scanner i-SENSYS MF731/733 2018-08-27 21:56:48 +02:00
Manuel Argüelles d61a59ca01 Add support for Canon DR-X10C scanner
Added initial support for DR-X10C SSM2 scanner with dropout color, hardware
deskew and hardware crop.
2018-08-21 15:22:20 -05:00
Povilas Kanapickas 05400ad69b backend/genesys: Increase excessively low bright point on Lide 80 calib 2018-07-21 04:00:36 +03:00
Povilas Kanapickas 92c40c44b9 backend/genesys_gl841: Reduce extra dark area offset for LIDE 80 2018-07-21 03:48:38 +03:00
Povilas Kanapickas 065855e1da backend/genesys_gl841: Disable LEDADD on Lide 80 since it's broken there 2018-07-21 03:39:47 +03:00
Povilas Kanapickas d6aace7d51 hp5590: Fix compile error 2018-07-21 03:39:09 +03:00
Ilia Sotnikov 1a2a8ee744 backend/hp5590.c, backend/hp5590_cmds.c:
+ Files header have been expanded to mention of scanbd integration by
   Damiano Scaramuzza and Bernard Badr
2018-07-15 14:09:49 +03:00
Bernard B Badr 1649d5bfea HP5590: scanbd integration is ready. 2018-07-15 11:00:18 +00:00
iosabi a64f209643 genesys: Add buttons to LiDE 60
Canon LiDE 60 has four buttons. These are already supported in the
GL841, we just needed to add them to the config. Tested it with scanbd.
2018-07-02 22:48:02 +02:00
Ilia Sotnikov a80f3b575e backend/hp5590.c, backend/hp5590_cmds.c:
+ Files header have been expanded to mention of ADF page detection and
   high DPI fixes by Bernard Badr
 * Use C-style comments instead of C++ ones
2018-06-11 11:11:53 +03:00
Bernard Badr b1da51f7fe HP5590: Fixed ADF handling, fixed 48bit color mode, fixed 2400 dpi color layer shift. 2018-06-11 07:56:28 +00:00
Alex Belkin ad20558bb2 xerox_mfp: Blacklist Samsung M288x Series from jpeg mode
Fix issue #315839 reported by Jan Christoph Ebersach
https://alioth.debian.org/tracker/?func=detail&group_id=30186&aid=315839&atid=410366
2018-05-18 01:51:01 +03:00
Alex Belkin 54a55700f6 xerox_mfp: blacklist SCX-4500W from jpeg mode
Fix issue #315876 reported by Bernard Cafarelli
https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=315876&group_id=30186
2018-05-18 01:35:21 +03:00
Rolf Bensch 4accdae4ed pixma: backend version 0.17.48 2018-05-16 21:29:50 +02:00
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
Olaf Meeuwissen deb856cb27 umax: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:09:54 +09:00
Olaf Meeuwissen ff535ef1ea u12: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:09:39 +09:00
Olaf Meeuwissen 0c6fc8b174 snapscan: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:09:23 +09:00
Olaf Meeuwissen 582a3b8987 s9036: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:09:06 +09:00
Olaf Meeuwissen 73e1d3568d plustek_pp: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:08:51 +09:00
Olaf Meeuwissen 1a1c808c15 plustek: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:08:37 +09:00
Olaf Meeuwissen f8eb12b49d mustek: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:08:17 +09:00
Olaf Meeuwissen 02ce2b5d46 agfafocus: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:07:24 +09:00
Olaf Meeuwissen 702a8e27b6 p5: Fix [-Wunused-const-variable=] compiler warning
The u8_range and threshold_percentage_range constants have not been
used for anything ever since the backend's addition.  They probable
ended up in the code as a result of copy-and-paste.
2017-06-26 11:43:01 +09:00
Olaf Meeuwissen aa5468552b teco2: Fix [-Wunused-const-variable=] compiler warning
The default_dpi_color_adjust variable hasn't been used ever since the
backend was added.
2017-06-26 11:39:50 +09:00
Olaf Meeuwissen a2083538e9 tamarack: Fix [-Wunused-const-variable=] compiler warning
The u8_range has been `#if 0`'d to match the gamma options' have been
disabled (since the initial revision).  The options refer to u8_range.
2017-06-26 11:35:06 +09:00
Olaf Meeuwissen 2442ddf6d1 sp15c: Fix [-Wunused-const-variable=] compiler warning
The RCSid* variables have never been used for anything by the backend
code.
2017-06-26 11:28:10 +09:00
Olaf Meeuwissen 86ab41d8f1 mustek_usb: Fix [-Wunused-const-variable=] compiler warning
The brightness option that used the char_range variable was renamed to
threshold and changed to use u8_range in c95e4638.
2017-06-26 11:19:55 +09:00
Olaf Meeuwissen 39849809d1 mustek: Fix [-Wunused-const-variable=] compiler warning
The const variables' definition has been #ifdef'd to prevent loss of
protocol info.

Neither scsi_area_and_windows nor scsi_lookup_table appear to have
been used for anything.
2017-06-26 11:16:55 +09:00
Olaf Meeuwissen 398d5850fa avision: Fix [-Wunused-const-variable=] compiler warning
The const variable's definition has been #ifdef'd to prevent loss of
protocol info.
2017-06-26 11:08:03 +09:00
Olaf Meeuwissen 0f70ce9aac avision: Fix [-Wunused-const-variable=] compiler warning
The threshold option which used the abs_percentage_range was removed
in e2169ec4.
2017-06-26 11:05:01 +09:00
Olaf Meeuwissen 2f5c9e1499 kvs1025: Fix [-Wunused-const-variable=] compiler warning
The go_paper_max_width value hasn't been used for anything since the
initial revision of the file.
2017-06-26 11:02:50 +09:00
Olaf Meeuwissen ed0062d474 gt68xx: Fix [-Wunused-const-variable=] compiler warning
The options that used offset_range were removed in a3a8808b.
2017-06-26 11:02:50 +09:00
Olaf Meeuwissen fa44970473 epson2: Fix [-Wunused-const-variable=] compiler warning
The s8_range variable appears to be a left-over from the epson
backend's "fork" and became superfluous after refactoring the
colour correction support in the epson2 backend.
2017-06-26 11:02:16 +09:00
Olaf Meeuwissen 754a7164f3 dc25: Fix [-Wunused-const-variable=] compiler warning
The percentage_range hasn't been used for anything since the initial
revision of the file.

This also gets rid of a [-Wshift-negative-value] warning as well as a
"initializer element is not a constant expression" pedantic warning.
2017-06-26 11:00:29 +09:00
Olaf Meeuwissen a52d843da4 canon: Fix [-Wunused-const-variable=] compiler warning
The papersize_list hasn't been used for anything since the initial
revision of the file.
2017-06-26 10:34:14 +09:00
Olaf Meeuwissen baec9c4e26 autofoo: Sync with configure.ac, Makefile.am changes 2017-06-07 22:50:56 +09:00
Olaf Meeuwissen a2f1cc1c82 libsane: Only depend on and link in the kitchen sink if needed
There is no need to depend on and link in all the various dependencies
for whatever backends *might* be preloaded if none are.  Distributions
habitually rip these out, rightfully so, to reduce the list of package
dependencies.  This will achieve the same while still doing the "right
thing" for builds that do preload one or more backens.
2017-06-07 22:06:05 +09:00
Jerome Duval 2284c6e034 epsonds: add missing includes
Fixes build failure on Haiku.  Alioth Tracker: 315750.
2017-06-07 21:18:48 +09:00
Rolf Bensch 75e271444a pixma: backend version 0.17.40 2017-06-01 14:11:48 +02:00
Rolf Bensch 80445f9e57 pixma_imageclass.c: MF240 Series restricts adf scans to max. 300dpi 2017-06-01 14:09:21 +02:00
Rolf Bensch c2594e949b Revert "pixma_imageclass.c: MF240 Series supports only 300dpi for adf scans"
This reverts commit 60e0c31bb7.

Truly this scanner restricts adf scans to max. 300dpi.
2017-06-01 14:06:43 +02:00
Olaf Meeuwissen fc4b250a09 .editorconfig: use utf-8 charset throughout 2017-05-29 21:14:30 +09:00
Olaf Meeuwissen f0f187f995 .editorconfig: trim trailing blank lines 2017-05-29 21:14:30 +09:00
Olaf Meeuwissen ffa573f65e .editorconfig: insert a newline at end-of-file
This keeps `git` from "complaining" about this when doing a diff.  It
also keeps your prompt at the left edge when you `cat` a file.
2017-05-29 21:14:29 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Rolf Bensch 7893b77d92 pixma: backend version 0.17.39 2017-05-26 23:37:28 +02:00
Rolf Bensch bcf1f4398e pixma_imageclass.c: reduce max. scan width to 216mm for particular scanners 2017-05-26 23:36:52 +02:00
Rolf Bensch 2bba273993 pixma: backend version 0.17.38 2017-05-20 14:15:19 +02:00
Rolf Bensch 60e0c31bb7 pixma_imageclass.c: MF240 Series supports only 300dpi for adf scans 2017-05-20 14:15:08 +02:00
Jörg Frings-Fürst 1808a63b00 Replace the startup gamma with the same from the standalone version
Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629470
2017-05-13 18:38:43 +09:00
Jörg Frings-Fürst 5c0812c51b genesys.conf: fix comment typo 2017-05-13 18:38:43 +09:00
Jörg Frings-Fürst e21bb28e50 Source code string typo fixes 2017-05-13 18:38:43 +09:00
Olaf Meeuwissen da5ce7216c Add a header to dll.conf
Document dll.conf in a header, point to the dll.d directory for external
backends and document the net backend w/ pointers to the manpages.

Based on a patch by Julien BLACHE <jblache@debian.org>
2017-05-13 13:09:25 +09:00
Christopher James Halse Rogers 77dcf26860 Fix potential assert in avahi backend
avahi_browser contains a reference to an AvahiClient, which may be
avahi_client.  If it does, then freeing avahi_browser references avahi_client,
resulting in an assert() in Avahi's linked list macro.

Fix this by freeing avahi_browser before avahi_client.
See https://bugs.launchpad.net/bugs/831867
2017-05-13 13:07:01 +09:00
Klaus Kämpf 0cf531e445 Update pieusb.conf and pieusb.desc 2017-05-10 20:03:31 +09:00
René Rebe 5b10b0b635 epson2: fixed network transport for new scanners
increased command buffer due memory overrun, and always read receive
    status, even for zero length on network scanenrs, should fix #315552
2017-05-05 07:09:04 +02:00
Olaf Meeuwissen f3f8afb08c kvs20xx.c: don't assume sane_get_devices() has been called
Nor that that function is called with a non-NULL argument.
This aligns the implementation with that of kvs40xx.c.

Fixes 315625.
2017-05-06 12:26:48 +09:00
Louis Lagendijk b1a2c61054 pixma: backend version 0.17.37 2017-05-05 19:46:28 +02:00
Klaus Kaempf 09c467deab pieusb: Support ProScan 10T and Reflecta CrystalScan 3600
Neither of these scanner have an automated slide transport and fail on
respective SCSI commands.

- Add flags parameter to control if automatic slide transport is available
- Reflect flags in pieusb.conf.in
- rename SLIDE_LAMP_ON to SLIDE_INIT
  it fails on scanners without automatic slide transport, so it has
  nothing to do with the lamp.
- run SLIDE_INIT only FLAG_SLIDE_TRANSPORT is set
- pieusb.conf.in: Add Reflecta CrystalScan 3600
2017-05-04 18:49:10 +09:00
Louis Lagendijk 0ca2fc4613 fix 1200 dpi scanning for MB5000 series 2017-05-03 16:35:10 +02:00
Louis Lagendijk ff5c11622d Fix scanbutton detection for MB5000 series 2017-05-03 16:35:10 +02:00
Paul Newall 6af0e32bd6 kodakaio.c patched to change avahi callback variable from global to local. Bug 315705 2017-05-01 19:49:41 +01:00
Rolf Bensch 5fa4be5ae4 pixma: backend version 0.17.36 2017-04-26 11:43:41 +02:00
Rolf Bensch 879565cefc new scanners Canon i-SENSYS MF230 and MF240 Series 2017-04-26 11:43:30 +02:00
Rolf Bensch ddccf956b4 pixma_mp150: MG5400 Series has button scan support 2017-04-26 11:06:32 +02:00
Rolf Bensch f14285dba3 pixma_mp150: MG5400 Series doesn't need special image format post processing @ high dpi 2017-04-26 11:06:25 +02:00
m. allan noah dcddb9505c epjitsu backend v31
- hardware gray support for fi-60F/65F (disabled pending calibration)
- merge fi-60F/65F settings
- improve desc, conf and man files
2017-04-11 21:32:37 -04:00
m. allan noah 9712e2aa25 fujitsu backend v133 2017-04-08, MAN
- initial support for fi-7600/7700
- autodetect various double feed capabilities using VPD
- call send_lut if we are using a downloaded gamma table
2017-04-08 21:44:27 -04:00
Olaf Meeuwissen 5edb87f9ac genesys: Trigger reallocation of gamma tables on next sane_open()
Fixes 315491.
2017-04-08 21:08:12 +09:00
Robert Ancell 6eb4a1f164 kodakaio: Fix crash when Avahi search fails 2017-04-08 20:13:32 +09:00
Rolf Bensch cbcab6dffa pixma: backend version 0.17.35 2017-04-04 12:00:31 +02:00
Rolf Bensch 66ce95a5a1 new scanners Canon PIXMA G3000, E470, G3000, TS5000, TS6000, TS8000 and TS9000 [#315658] 2017-04-04 12:00:25 +02:00
Rolf Bensch a2e2657272 pixma: signal scan cancel from the frontend with new parameter s->param->frontend_cancel 2017-04-04 11:27:38 +02:00
Rolf Bensch c5bfbc5a3a pixma: implement adf-wait for imageclass scanners 2017-04-04 11:25:53 +02:00
Rolf Bensch 17f3899b15 pixma: new option adf-wait 2017-04-04 11:23:03 +02:00
m. allan noah e6c8ea6f0b epjitsu backend v30 again
- typo in previous commit broke low resolution scans on fi-65F
2017-03-22 12:33:27 -04:00
m. allan noah a7fde11e15 epjitsu backend v30
- bump build number
2017-03-21 21:35:59 -04:00
m. allan noah 891e3984d0 epjitsu v30
- fix image truncation when using 150 DPI in Y direction
- add 200 and 400 DPI Y direction support for fi-60F/65F
2017-03-21 20:43:42 -04:00
m. allan noah eaa4d4407d epjitsu backend v29
- fix infinite loop when scaling in Y direction
2017-03-18 19:19:04 -04:00
Olaf Meeuwissen 2f9ea038b1 Fix typo
See http://lists.alioth.debian.org/pipermail/sane-devel/2017-March/035099.html
2017-03-11 10:48:35 +09:00
Louis Lagendijk 7a0e1126b3 Revert "pixma_mp150.c: Fix scanbutton detection for MB5000 series"
This reverts commit 53aa78df3a.
2017-01-06 23:30:31 +01:00
Louis Lagendijk 306f8f16e7 Revert "pixma_mp150.c: fix 1200 dpi scanning for MB5000 series"
This reverts commit dfc5487571.
2017-01-06 23:29:59 +01:00
Louis Lagendijk 9bc734042f Revert "pixma_mp150.c: scan param 0x26-0x29 should contain localtime HHMM, also for MB5000 series"
This reverts commit eb712c6bd8.
2017-01-06 23:28:56 +01:00
Louis Lagendijk 6c439bce79 Revert "pixma_mp150.c: replace multiple if statements with case statement in handle_interrupt"
This reverts commit 28dcd0aef4.
2017-01-06 23:28:31 +01:00
Louis Lagendijk 06b4b27ecf Revert "pixma_mp150.c: fix parameter settings for MB5000 in send_scan_param"
This reverts commit 1d2a40ec96.
2017-01-06 23:28:09 +01:00
Louis Lagendijk 1b442ce1ea Added examples for new bjnp timer settings in the pixma config file 2017-01-06 21:37:52 +01:00
Louis Lagendijk cfc7a069d2 Added timeout options for the bjnp protocol 2016-12-31 17:56:06 +01:00
Louis Lagendijk c2898cb602 Remove incorrect comment left from old version 2016-12-30 21:36:26 +01:00
Louis Lagendijk 526f642f64 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2016-12-30 20:04:53 +01:00
Dave Platt 755e829caa avision.c: abort "wait for light" loop if interrupted
Adds a "cancelled" flag to the Avision device structure, cleared
in sane_start() and set in sane_cancel().  Test this flag in
wait_4_light() and bail out of the 90-second "wait for the
light to warm up" loop if the scan is cancelled.
2016-12-15 23:12:07 -08:00
Dave Platt 28963459a4 avision.c: Recognize "backlight on" status
Avision scanners can return an additional light-status value meaning
"Transparent Media Adapter back-light is on".  Accept this as
equivalent to "on" during the lamp-warmup check prior to starting a
scan.  Re-check the light status after sending the window command, as
the light selection might have been changed and a further warm-up
may be required.
2016-12-15 23:02:42 -08:00
Dave Platt 6585b6f60d avision.c: Add "skip-adf" option
The code which tries aggressively to reset/initialize HP 82xx/83xx
Automatic Document Feeders doesn't work well if there's no ADF attached,
because the scanner reports a non-zero ADF model type in this case.
The retry code makes several attempts to initialize the ADF, and then
bails out with an "Operation not supported" error.

Add a new "option skip-adf" which will cause the backend to believe
the "ADF not present" status if that's what the scanner reports.

Fixes #313751
2016-12-15 22:56:09 -08:00
Troy Rollo f58ce8f920 HP3500: Always enable the second set of CCDs. This
prevents ghosting that occurs when only enabling the
first set of CCDs, even though at some resolutions
we will not get any data from the second set.
2016-12-02 01:37:23 +11:00
Troy Rollo 77986b1d14 HP3500: Move to scan area more quickly if it is a
long way from the home position
2016-12-02 01:20:43 +11:00
Troy Rollo b1f3815014 Add missing math library to HP3500 backend link flags 2016-11-29 21:11:06 +11:00
Troy Rollo fd7a3505f6 HP3500 backend: fix #314811, greatly improve
calibration, support harware calibration
	in 120DPI and 400DPI, and add support for
	hardware gamma correction.
2016-11-29 20:47:59 +11:00
Alex Belkin 69a008830b Pre-create temporary file for Jpeg scanning.
Jpeg mode (as submitted by Samsung developer) uses temporary file with
fixed name. This opens attacks on reading its content or overwriting any
other user-writable file (with symlink). This change pre-creates
temporary file with O_CREAT|O_EXCL and mode 0600. Assuming usual +t
permissions for tmp this should mitigate issue.
2016-11-06 22:55:58 +03:00
Alex Belkin 226c2b9deb Update header and copyright statements for xerox_mfp. 2016-11-06 21:50:06 +03:00
Alex Belkin 58c1e43b83 Indent of xerox_mfp-tcp.c and xerox_mfp-usb.c
This is purely indent commit without any code changes, in
follow-up to 83bbcfe7d5.

Indent command used:
    astyle -A8 -U -H -k3 -W3 -o xerox_mfp-{usb,tcp}.c

Proof that code is not changed:
    git log -w -p xerox_mfp-{usb,tcp}.c
2016-11-06 21:42:52 +03:00
Alex Belkin 83bbcfe7d5 Run indent: astyle -A8 -U -H -k3 -W3 -o xerox_mfp.[ch]
This is purely indent commit w/o any code changes.
To prove run `git diff -w`.
2016-11-06 20:24:02 +03:00
m. allan noah e4aed53a1e fujitsu backend v132
- remove ipc_mode option and variables
- set ipc mode based on other options
- cleanup inverted logic DTC options
- fixes threshold option reported in #315069
2016-10-08 20:54:58 -04:00
Rolf Bensch cfa98fd0d1 pixma: backend version 0.17.34 2016-10-08 14:25:33 +02:00
Rolf Bensch 7e20475c8b pixma: new scanner Canon PIXMA MG3000 Series
see bug report #315521
2016-10-08 14:24:53 +02:00
Rolf Bensch 3b63fdab2b pixma: backend version 0.17.33 2016-10-05 20:05:37 +02:00
Rolf Bensch c751a9ca22 fix ADF scanning for Canon MF57x0 devices
- ignore result from calibrate(): don't interrupt @ PIXMA_STATUS_BUSY
- MF57x0 devices don't require abort_session() after the last page
- reported by Dmitry Deshevoy
2016-10-05 19:52:02 +02:00
Olaf Meeuwissen e6faafcdc9 xerox_mfp: fix [-Wunused-parameter] compiler warnings
These are issued when libjpeg was not found during configuration.
2016-09-25 15:44:36 +09:00
Louis Lagendijk 32be261254 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2016-09-21 22:35:10 +02:00
Olaf Meeuwissen ee550e5de8 pieusb: fix [-Wunused-parameter] compiler warnings
The functions that trigger these warnings were not used.
2016-09-20 09:12:53 +09:00
Olaf Meeuwissen fb0464d9e3 niash: fix [-Wunused-but-set-variable] compiler warning
This makes explicit what the compiler has effectively been doing all
along anyway since at least 727dd4ab (2004-08-03).
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen 6f4b88b617 epson2: fix [-Wunused-but-set-variable] compiler warning
This makes explicit what the compiler has effectively been doing all
along anyway since at least 728e032a (2009-06-01).
2016-09-19 12:41:58 +09:00
m. allan noah 9d388c3593 canon_dr v56
- add initial support for P-150M (and probably P-150)
2016-09-11 19:04:34 -04:00
Olaf Meeuwissen 737977199c umax_pp: fix [-Wunused-but-set-variable] compiler warning 2016-09-05 23:40:39 +09:00
Olaf Meeuwissen 50fa8efdcf gphoto2: fix libgphoto2 logging integration
In libgphoto2-2.5.0 (tagged for release on 2012-07-10) the GPLogFunc no
longer takes a va_list.  Instead, it passes a formatted message.
2016-09-04 14:39:52 +09:00
Olaf Meeuwissen 74b4a34e82 dll: fix pedantic compiler warning 2016-09-04 12:12:14 +09:00
Olaf Meeuwissen a65e74fe83 umax_pp: fix [-Werror=unused-but-set-parameter] compiler warnings 2016-08-28 15:49:44 +09:00
Olaf Meeuwissen 4eaefe4371 magicolor: fix [-Werror] compiler warning
This casts away const-ness in the hope that libsnmp doesn't change
the session.peername.
2016-08-28 15:27:50 +09:00
Olaf Meeuwissen 31ac0db736 magicolor: fix [-Werror=pointer-sign] compiler warnings
The libsnmp API requires a u_char *session.community :-(
2016-08-28 15:25:43 +09:00
Olaf Meeuwissen c32d48ef5f kodakaio: fix [-Weror=format=] compiler warning 2016-08-28 14:19:34 +09:00
Olaf Meeuwissen 0337514b8f kodakaio: fix [-Werror=sign-compare] compiler warning 2016-08-28 14:18:00 +09:00
Olaf Meeuwissen 763816814b hp5400: fix [-Werror=overflow] compiler warning
This explicitly implements what gcc and clang assign.
2016-08-28 13:56:16 +09:00
Olaf Meeuwissen 984fefd551 plustek_pp: fix [-Werror=sign-compare] compiler warning 2016-08-28 13:21:11 +09:00
Olaf Meeuwissen f0153bc7fe v4l: fix [-Werror=sign-compare] compiler warning 2016-08-28 12:58:56 +09:00
Olaf Meeuwissen cb3090cb54 pixma: Fix include guard typo
This was introduced in f573865 on 2008-10-18.
2016-08-03 22:16:26 +09:00
Olaf Meeuwissen 5389808029 Fix memory leak 2016-08-02 21:56:09 +09:00
Olaf Meeuwissen 1006445982 Use DIR_SEP instead of hard-coding ":"
Fixes 313540
2016-08-02 21:38:43 +09:00
Troy Rollo b021c3bee8 Fix bug 314571 - hp3500 backend does not set correct size for string option. 2016-07-31 22:47:25 +10:00
Olaf Meeuwissen f6c8be1380 kvs40xx: fix [-Wunused-function] compiler warning
This rather unceremoniously removed the function.  Note that a near copy
can be found in the kvs20xx backend code.
2016-07-18 20:55:14 +09:00
Olaf Meeuwissen effc26e402 kvs20xx: fix [-Wunused-function] compiler warning
This rather unceremoniously removed the function.  Note that a near copy
can be found in the kvs40xx backend code.
2016-07-18 20:53:51 +09:00
Olaf Meeuwissen 2d46885228 pnm: fix [-Wformat=] compiler warning 2016-07-18 17:32:21 +09:00
Olaf Meeuwissen 2f39c72270 v4l: fix [Wunused-parameter] compiler warnings 2016-07-18 17:11:26 +09:00
Olaf Meeuwissen 8809927390 sm3600: fix [-Wunused-parameter] compiler warning 2016-07-18 17:10:56 +09:00
Olaf Meeuwissen 99c14f2d95 Use a single symbol to flag unused parameters
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.
2016-07-18 16:51:08 +09:00
Olaf Meeuwissen b73a6e5017 niash: fix [-Wunused-parameter] compiler warning
The attribute needs to go before the pointer designation for it to have
any effect.
2016-07-18 16:14:20 +09:00
Olaf Meeuwissen 61719e0a13 dc240: fix [-Wunused-parameter] compiler warning
The attribute needs to go before the pointer designation for it to have
any effect.
2016-07-18 16:11:39 +09:00
Olaf Meeuwissen bfd1626c4b Sync autofoo 2016-07-13 23:44:26 +09:00
Olaf Meeuwissen 2481e1e98b Sync autofoo 2016-07-10 21:54:24 +09:00
Olaf Meeuwissen fa41b18001 Refactor API spec conversion support
Unless explicitly asked to do without, all formats for which required
tools are found will be built.  Checks cover PostScript, PDF and HTML.

All logic and files involved are now collected in a single "section"
and grouped in such a way that their function should be clearer.

fixup! Refactor API spec conversion support
2016-07-10 21:53:32 +09:00
Olaf Meeuwissen c962368626 Sync autofoo 2016-07-01 23:45:43 +09:00
Olaf Meeuwissen a9c813944e Make libusb-1.0 the default for USB support
When libusb-1.0 is not found, libusb-0.1 will be tried.  On BeOS and
OS2, nothing should have changed in terms of detection of USB support.

On all systems the --enable-libusb* flags are now ignored.  Instead, the
--with-usb and --without-usb flags now control support.  When neither is
given USB support will be enable if possible and disabled otherwise.  If
--with-usb is requested but not possible, ./configure will fail.  There
is no support to prefer libusb-0.1 over libusb-1.0.
2016-07-01 23:44:37 +09:00
Olaf Meeuwissen f03f1f66d4 Sync autofoo files 2016-06-29 22:15:06 +09:00
Olaf Meeuwissen 81f9557966 Clean up .gitignore file content
Removes empty lines and duplicates (note that .gitignore patterns are
recursive unless anchored with a leading /).
2016-06-27 22:40:20 +09:00
Olaf Meeuwissen cb4924f210 Stop distclean from removing files willy-nilly
The distclean target should only remove files that make creates.  If
there are any that need taking care of, they should be added in on a
per file basis in the Makefile.am that creates it.
2016-06-26 10:24:30 +09:00
Olaf Meeuwissen 8274a52eec Sort .gitignore files 2016-06-26 10:24:30 +09:00
Olaf Meeuwissen bdade6bb07 Sync derived files with previous changes 2016-06-26 10:24:29 +09:00
Alessandro Zummo ad176ba9fe epsonds: remove unused var 2016-06-21 00:50:02 +02:00
Alessandro Zummo 1dbabdce5d epsonds: fix compilation 2016-06-21 00:49:08 +02:00
Alessandro Zummo 9b389a61c5 epsonds: added support for network scanners 2016-06-21 00:44:29 +02:00
Olaf Meeuwissen 5695d01077 Silence overly verbose targets
This only takes effect with silent rules enabled.
2016-06-15 20:23:33 +09:00
Olaf Meeuwissen d853463ef1 Sync derived files
This was done with

  AUTOMAKE="automake --add-missing --copy" autoreconf --force

on Debian GNU/Linux 8.5.
2016-06-14 06:30:48 +09:00
Olaf Meeuwissen 87e12bbf2e Sync derived files with autoreconf --force
For the record, this was done on Debian GNU/Linux 8.5.
2016-06-13 22:24:21 +09:00
Olaf Meeuwissen d3d5dc3da0 Update to autoconf-2.69
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.

This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes.  Changes to acinclude.m4 were added
by hand.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen 2d6fad58b4 Respect GNU Standards user variables
Several variables are considered "user variables" by the GNU Standards.
This means that the user can pass these to their ./configure and make
invocations as they see fit.  These variables include CPPFLAGS, CFLAGS
and LDFLAGS.

This changeset pushes our use of these variables to the automake shadow
variables, AM_CPPFLAGS, AM_CFLAGS and AM_LDFLAGS, so that user variables
will no longer clobber flags required in order to build.
2016-06-13 22:03:14 +09:00
Olaf Meeuwissen 7a2b112d20 Prefer make variables over literal substitutions
The AC_SUBST and PKG_CHECK_MODULE invocations in configure.ac as well as
acinclude.m4 are sufficient to trigger automake to insert initialization
logic for the variables these introduce.  There is no need to do this by
hand.  Wherever these values are needed, it is better to use a variable.
This allows for one-off overrides on the make command-line (without the
need to run ./configure) for one thing.
2016-06-13 21:50:36 +09:00
Olaf Meeuwissen c9027378a1 xerox_mpf: Make JPEG support an option 2016-06-13 20:38:55 +09:00
m. allan noah 5ba37467e8 fujitsu backend v131
- hide compression-arg option when jpeg disabled
- add Send/SC/GHS macros for recent scanners
- add initial support for fi-74x0
- add initial support for fi-7030
- set has_MS_lamp=0 for fi-71x0
- add I18N macros to all option titles and descriptions
- add usb ids for many newer scanners
2016-06-09 21:53:13 -04:00
Louis Lagendijk ec8bf64396 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2016-05-21 22:06:57 +02:00
Alessandro Zummo 1e013654cc pieusb: mkostemp -> mkstemp 2016-05-09 11:10:35 +02:00
Alex Belkin 926bfade54 Color scanning for Samsung models, which support JPEG Lossy compression.
Patch is submitted by Laxmeesh Onkar Markod <m.laxmeesh@samsung.com>

Patch to code is applied almost verbatim, except, insignificant
formatting fixes and making new functions static.

Also, new USB ids added and scanner support is changed as reported.
2016-05-07 22:33:03 +03:00
Louis Lagendijk 1d2a40ec96 pixma_mp150.c: fix parameter settings for MB5000 in send_scan_param 2016-04-30 15:32:55 +02:00
Louis Lagendijk 28dcd0aef4 pixma_mp150.c: replace multiple if statements with case statement in handle_interrupt 2016-04-27 18:45:22 +02:00
Louis Lagendijk eb712c6bd8 pixma_mp150.c: scan param 0x26-0x29 should contain localtime HHMM, also for MB5000 series 2016-04-27 17:55:52 +02:00
Louis Lagendijk c8169b1e65 pixma.h: step version of the backend to 0.17.32
sane-pixma.man pixma.desc: mark Maxify MB5000 as complete (but ADF does not work)
2016-04-22 23:58:23 +02:00
Louis Lagendijk dfc5487571 pixma_mp150.c: fix 1200 dpi scanning for MB5000 series 2016-04-22 22:42:48 +02:00
Louis Lagendijk d5e1323738 pixma.h: step pixma backend version to 0.17.31 2016-04-22 21:05:40 +02:00
Louis Lagendijk c2985f0fd6 pixma_bjnp_private.h: change minimum timeout value for the bjnp protocol to 1 sec
as 500 ms gives errors on scanimage -A (it workked for scanbd)
2016-04-22 21:03:48 +02:00
Louis Lagendijk 4b2f171a13 pixma_bjnp.c pixma_bjnp_private.h: set minimum timeout for network operations to 500ms 2016-04-20 11:21:28 +02:00
Louis Lagendijk affe1ac821 pixma_bjnp.c pixma_bjnp_private.h: make bjnp protocol follow timeouts set by backend 2016-04-20 10:58:54 +02:00
Louis Lagendijk 53aa78df3a pixma_mp150.c: Fix scanbutton detection for MB5000 series 2016-04-18 22:20:43 +02:00
Louis Lagendijk 1452cf2e0d pixma_bjnp: Remove dead code in polling 2016-04-18 22:20:20 +02:00
Rolf Bensch 51943537c3 pixma: backend version 0.17.30 2016-04-12 18:14:55 +02:00
Rolf Bensch 2556ffc2c5 pixma_mp150: MG7700 Series doesn't need special image format post processing @ high dpi 2016-04-12 18:07:29 +02:00
m. allan noah e6b6ad9d48 canon_dr backend v55
fixed-width scanners were calculating left-side offset incorrectly in color
initial support for DR-F120
rename all DUPLEX_INTERLACE_* to indicate start and end of line
2016-04-05 20:31:19 -04:00
Alessandro Zummo 41a416e4af epsonds: fixed resolution setting bug, DS-60000 workaround is needed no more 2016-03-21 19:10:29 +01:00
Rolf Bensch 52bc4d241c pixma: backend version 0.17.29 2016-03-21 10:53:29 +01:00
Rolf Bensch bc1637bb39 pixma_mp150: MG3600 Series doesn't need special image format post processing @ 1200dpi 2016-03-21 10:42:54 +01:00
Rolf Bensch 23eb95582d pixma: backend version 0.17.28 2016-03-04 13:38:12 +01:00
Rolf Bensch eba9c9e239 pixma_imageclass: software lineart for all imageCLASS, imageRUNNER, i-SENSYS and laserBase scanners,
supported by this sub-backend

imageCLASS scanners:
D420, D480, D530, MF810/820, MF3240, MF4010, MF4150, MF4270, MF4320, MF4360,
MF4410, MF4570dw, MF4690, MF5630, MF6500, MF8030, MF8170c

i-SENSYS scanners:
MF210, MF220, MF3010, MF4500, MF4700, MF4800, MF5880dn, MF5900, MF6100,
MF6680dn, MF8200C, MF8300, MF8500C

imageRUNNER scanners:
iR1133

laserBase scanners:
MF5650
2016-03-04 13:36:08 +01:00
Rolf Bensch 38d6f1ba6d pixma_imageclass: MF6100 Series document feeder does not have 600DPI capability 2016-03-04 13:08:31 +01:00
Stéphane Voltz 328e9b93d7 raise build number 2016-03-03 22:06:03 +01:00
Stéphane Voltz 8ad2c60d82 use half step mode for LiDE 110 600 dpi scan 2016-03-03 22:06:03 +01:00
Stéphane Voltz 52ea420d44 use half step for LiDE 210 600 dpi scans 2016-03-03 22:06:03 +01:00
Stéphane Voltz bd0b0cd218 use rewind instead of slow_back_home
- if required by flags, do a rewind instead a slow_back_home that pollutes
  shading settings
2016-03-03 22:06:03 +01:00
Stéphane Voltz 3dee0f8d48 implement rewind for gl847 and gl124 2016-03-03 22:06:03 +01:00
Stéphane Voltz de635a32f9 add rewind function to command set 2016-03-03 22:06:03 +01:00
Stéphane Voltz 270d6a4242 fix Lide 110 gray mode max speed 2016-03-03 22:06:03 +01:00
Rolf Bensch 2f891c13bb pixma: backend version 0.17.27 2016-03-03 13:40:46 +01:00
Rolf Bensch bbd327f5e7 pixma_imageclass: reduce timeout for failed first usb command to 2 seconds 2016-03-03 13:38:33 +01:00
Rolf Bensch c41640f364 pixma: new global parameter to set duration of receive timeout loop
The default value for receive timeout loop duration has not been changed.
The loop still takes 8 seconds if a timeout occurs.
2016-03-03 13:36:44 +01:00
Stéphane Voltz 9897357727 enable pixel averaging whne bleow 600 for all models 2016-02-28 21:26:27 +01:00
Stéphane Voltz d784dec60b motor table fixes
- add target speed for 600 dpi gray
- add slope table for 4800/2400 dpi, gray and color
2016-02-28 12:26:12 +01:00
Stéphane Voltz 759729331c fix maximum speed compute in gray mode 2016-02-28 12:18:56 +01:00
Stéphane Voltz e1b1ba8aee fix expiration time option reading 2016-02-26 05:57:35 +01:00
Stéphane Voltz 61d6f5c214 mode set fixes 2016-02-25 21:37:55 +01:00
Stéphane Voltz fa2c9dc9b2 fix GPIO during scan 2016-02-25 21:37:00 +01:00
Stéphane Voltz c5117ed0f1 doc and version update 2016-02-24 21:43:29 +01:00
Stéphane Voltz 747275a00f add 1200 and 2400 dpi mode for LiDE 120 2016-02-24 21:16:40 +01:00
Stéphane Voltz 2a18600792 make 1200 dpi scan mode work for LiDE 120 2016-02-24 21:16:40 +01:00