Wykres commitów

4032 Commity (6d95bc191f796eef07da3f5334d840e8b31bf4cf)

Autor SHA1 Wiadomość Data
Rolf Bensch 916ce82f00 pixma: backend version 0.23.0 2019-04-25 21:31:27 +02:00
Rolf Bensch 28d87cb6e5 Merge remote-tracking branch 'origin/master' 2019-04-25 21:27:53 +02:00
Rolf Bensch 9fe7d99089 Merge branch 'master' into 'master'
Added Imageclass MF634Cdw

See merge request sane-project/backends!49
2019-04-25 19:26:50 +00:00
Rolf Bensch 392beeec74 pixma: new scanners Canon i-SENSYS MF110, MF260, MF420, MF510, MF520, MF640 and MF740 Series 2019-04-25 21:24:40 +02:00
Povilas Kanapickas a814df3343 genesys: Prefer numeric model IDs instead of string comparisons 2019-04-23 00:55:46 +03:00
Povilas Kanapickas ad164ce9c6 genesys: Fix a typo in LiDE 120 gpio setup 2019-04-23 00:55:45 +03:00
Povilas Kanapickas f240a77e92 genesys: Add numeric model IDs to model tables 2019-04-23 00:55:44 +03:00
Povilas Kanapickas a569bfbf02 Merge branch 'genesys-misc' into 'master'
genesys: Miscellaneous changes/improvements

See merge request sane-project/backends!53
2019-04-22 21:38:29 +00:00
Povilas Kanapickas 3cd8a4cd01 genesys: Use hex to print USB vendor and product IDs to debug log 2019-04-23 00:28:17 +03:00
Povilas Kanapickas d7c17f7540 genesys: Limit maximum bulk transfer size to allow data capture 2019-04-23 00:14:48 +03:00
Povilas Kanapickas f04119b126 genesys: Remove support for fake USB mode
WIP implement support for 8600F
2019-04-23 00:14:47 +03:00
Povilas Kanapickas 902610132b genesys: Include genesys_low.h 2019-04-23 00:14:46 +03:00
Povilas Kanapickas 2341618720 genesys: Work around reads from non-initialized memory in gamma setup 2019-04-23 00:05:35 +03:00
Povilas Kanapickas 88c22e38be genesys: Fix double free in sanei_genesys_send_gamma_table() 2019-04-23 00:05:34 +03:00
Povilas Kanapickas 621c9799fe genesys: Fix use of uninitialized memory 2019-04-23 00:05:33 +03:00
Povilas Kanapickas c9ebf2b560 Merge branch 'genesys-remove-unneeded-function-names-in-dbg-args' into 'master'
genesys: Remove unneeded function name in DBG macro args

See merge request sane-project/backends!51
2019-04-22 20:56:38 +00:00
Povilas Kanapickas 2fd3b5622b genesys: Remove unneeded function name in DBG macro args 2019-04-22 23:48:23 +03:00
Olaf Meeuwissen 4f5eb745ac epson2_usb.c: Sync USB product IDs with epson2.desc content 2019-04-17 21:00:47 +09:00
MackPi a3c64bc0ca Added Imageclass MF634Cdw
Added MF634Cdw using MF733Cdw as reference
2019-04-03 16:37:03 -07:00
Louis Lagendijk 155248dde2 pixma_bjnp: change default timeout from 1 to 10 seconds (10000) 2019-03-27 19:09:43 +01:00
Louis Lagendijk d15aa248c7 pixma_bjnp.c: corrected url-rewrite as it set bjnp:// unconditionally rather than honor the received method
function renamed to add_default_timeout() to clarify its purpose
2019-03-27 18:46:17 +01:00
Povilas Kanapickas 276670f3c2 Merge branch 'rerun-autoreconf' into 'master'
Rerun autoreconf and automake

See merge request sane-project/backends!44
2019-03-22 14:27:53 +00:00
Povilas Kanapickas e92a3d6eba Merge branch 'remove-unused-unit-testing' into 'master'
Remove uses of unused UNIT_TESTING ifdef

See merge request sane-project/backends!45
2019-03-22 14:25:39 +00:00
Povilas Kanapickas 265f4a96ea genesys: Prefer enums to #defines 2019-03-22 14:50:03 +02:00
Povilas Kanapickas 2653cbaec7 Run autoreconf and automake 2019-03-20 23:09:07 +02:00
Povilas Kanapickas d866998f10 genesys: Remove uses of unused UNIT_TESTING ifdef 2019-03-20 23:09:05 +02:00
Povilas Kanapickas b7b5ca79c8 rts8891: Remove uses of unused UNIT_TESTING ifdef 2019-03-20 23:09:04 +02:00
Rolf Bensch 13350ba4ba pixma: backend version 0.22.0 2019-03-11 17:46:18 +01:00
Rolf Bensch dfc5f5ed76 pixma: new scanners Canon PIXUS XK50, XK70, XK80 Series 2019-03-11 17:45:27 +01:00
Rolf Bensch 6f4440152f pixma: new scanners PIXMA TS6130, TS6180, TS6230, TS6280, TS8100,
TS8130, TS8180, TS8200, TS8230, TS8280,
                          TS9180, TS9580 Series
2019-03-11 17:44:19 +01:00
Rolf Bensch adef553799 pixma: new scanners Canon PIXMA TR4500, TR7350, TR8530, TR8580, TR9530 Series 2019-03-11 17:26:29 +01:00
Rolf Bensch 83ddbd0fc4 pixma: new scanners Canon PIXMA G3010, G4010 Series 2019-03-11 17:23:20 +01:00
Rolf Bensch 953562ae8e pixma: new scanner Canon PIXMA E4200 Series 2019-03-11 17:17:45 +01:00
Thierry 2915756ae4 Add Driver Canon Pixma TS 6200 Serie. 2019-03-05 08:43:31 +01:00
m. allan noah 9c4ac1f07f canon_dr backend v57
- complete support for X-10, including hardware cropping (by manuarg)
- minor comments and move a bit of code for consistency
2019-02-24 20:40:25 -05:00
m. allan noah 81faeb46f2 Merge branch 'canon_drx10c' into 'master'
Add support for Canon DR-X10C scanner

See merge request sane-project/backends!12
2019-02-25 01:37:03 +00:00
Rolf Bensch 2d0912afdc pixma: backend version 0.21.1 2019-02-24 12:40:16 +01:00
Rolf Bensch d0e4f0fa52 pixma: add comment for MF733C 2019-02-24 12:38:37 +01:00
Rolf Bensch 73645abba0 Merge branch 'mikef-MF733C' into 'master'
Mikef mf733 c

See merge request sane-project/backends!42
2019-02-24 11:22:07 +00:00
m. allan noah 5ae6f698ae remove trailing whitespace 2019-02-23 15:46:59 -05:00
m. allan noah 156f7c9bd4 fujitsu backend v134
rewrite init_vpd for scanners which fail to report overscan correctly
update description and man page to match
rebuild po files with updated line numbers
2019-02-23 15:16:32 -05:00
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