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
Stéphane Voltz
b11a69d275
make 600 dpi mode work for LiDE 120
...
- add override for registers 0x16 and 0x70 since 120's sensor
is set differently according to resolution
2016-02-24 21:16:40 +01:00
m. allan noah
15e203de89
Various copyright comment updates
2016-02-23 21:11:00 -05:00
m. allan noah
1465543cc0
fujitsu backend v130
...
run init_model before init_ms so some scanners can override
set all M309x and M409x scanners s->broken_diag_serial = 1
2016-02-23 21:07:06 -05:00
m. allan noah
963de58dfc
Enable padded read for DR-3080CII
2016-02-23 20:42:52 -05:00
Stéphane Voltz
219198838b
LiDE 120 working [75-300] dpi
...
- fix sensor pixel number
- enable calibration
- default to 16 pixel DUMMY
2016-02-23 21:39:22 +01:00
Stéphane Voltz
4fd1d10228
tune scanarea geometry
2016-02-22 21:45:02 +01:00
Stéphane Voltz
a74ebe551d
first almost correct scan at 300 dpi
2016-02-21 22:16:44 +01:00
Stéphane Voltz
8f938f2d00
GL124 DAC and SENSOR setup changes
2016-02-21 22:16:44 +01:00
Stéphane Voltz
f56ffa63b9
doxygne fix
2016-02-21 22:16:44 +01:00
Stéphane Voltz
2e1102dc3a
add dedicated reference slope tables for LiDE 120
2016-02-21 22:16:44 +01:00
Stéphane Voltz
214dfad1d5
use dedicated LiDE120 GPIO
2016-02-21 22:16:44 +01:00
Stéphane Voltz
387cea7d6c
define dedicated motor/sensor/gpio for LiDE 120
2016-02-21 22:16:44 +01:00
Stéphane Voltz
e90f8cb8a1
latin1 -> utf8
2016-02-21 22:16:44 +01:00
Rolf Bensch
6d89f7ef25
pixma: backend version 0.17.26
2016-02-17 21:06:04 +01:00
Rolf Bensch
7a227dcaf2
pixma_imageclass: wait for 8sec to throw last page out of ADF feeder @ ADFDUP
2016-02-17 21:03:18 +01:00
Rolf Bensch
23efb9f55f
pixma_imageclass: PIXMA_ENO_PAPER check also for ADFDUP scans
2016-02-17 21:01:48 +01:00
Rolf Bensch
29ceb0e377
pixma_imageclass: fix for failed first usb command (timeout)
...
Sometimes the first usb command to the scanner fails after a previous scan.
A workaround was to reconnect the usb cable. This fix simply resends the
failed command.
2016-02-17 20:59:32 +01:00
Rolf Bensch
8f1202d653
pixma_imageclass: fixes for MF6100 Series
...
- special ADF settings
- the MF6100 Series is a Generation 2+ scanner, but uses the old read image command
2016-02-17 20:55:49 +01:00
Rolf Bensch
02855737ee
pixma: use usb timeout instead of sleep timer while waiting for usb response
2016-02-17 20:32:00 +01:00
Rolf Bensch
4771fab9c1
pixma: reduce global usb read and write timeouts to 1 sec
2016-02-17 20:30:47 +01:00
Stéphane Voltz
7bd773ade5
LiDE 120 support wip
2016-02-09 09:56:29 +01:00
Alessandro Zummo
056f590f2d
epsonds: fixed comment
2016-01-23 00:55:31 +01:00
Alessandro Zummo
cf2dfea000
epsonds: extend the bug fix to all depths
2016-01-22 20:44:36 +01:00
Alessandro Zummo
8fd6151acd
epsonds: fix stripes on DS-60000 at 1bpp/300dpi
2016-01-22 17:38:00 +01:00
Alessandro Zummo
4fa7f4f6f8
epsonds: clear endpoints on startup in order to fix some strange scanner / xhci combo
2016-01-22 17:01:57 +01:00
Rolf Bensch
f78e85cad6
pixma: backend version 0.17.25
2016-01-08 18:35:20 +01:00
Rolf Bensch
0f47b47b75
pixma_mp[150|810]: disable send_time()
...
The function send_time() makes trouble with a lot of scanners.
We send a warning to the debug output instead of sending the time.
fix for [#315248 ] Canon MP250 with pixma backend is not working
2016-01-08 17:32:36 +01:00
Rolf Bensch
b040b150a0
pixma: fix for [ #315244 ] Add support for Canon PIXMA MG5700, MG6800, MG6900 and MG7700
...
These scanners are new and need further testing!
2016-01-08 16:54:30 +01:00
Rolf Bensch
81c429082c
pixma: update copyright
2016-01-08 16:43:46 +01:00
Olaf Meeuwissen
0de5416a9b
umax_pp: fix memory leak
...
Found courtesy of [-Wunused-but-set-variable] compiler warning.
2016-01-02 16:06:34 +09:00
Olaf Meeuwissen
9d78ace3b7
umax_pp: fix [-Wunused-but-set-variable] compiler warnings
2016-01-02 16:06:00 +09:00
Olaf Meeuwissen
3f0c3df2fc
kvs40xx: fix [-Wstrict-aliasing] compiler warnings
2015-12-31 17:52:39 +09:00
Olaf Meeuwissen
b1f886a2e3
kvs20xx: fix [-Wstrict-aliasing] compiler warnings
2015-12-31 17:52:39 +09:00
Olaf Meeuwissen
0e3a5c4197
kodakaio: fix [-Wformat=] compiler warnings
...
This uses the ANSI C approach that is used in a lot of existing code
rather than what ISO C99 allows for consistency.
2015-12-31 17:43:25 +09:00
Olaf Meeuwissen
572e61d39a
p5: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:41:55 +09:00
Olaf Meeuwissen
f9e4496380
xerox_mfp: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:55 +09:00
Olaf Meeuwissen
f276e3e055
umax1220: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:55 +09:00
Olaf Meeuwissen
e28bdadae9
u12: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
70c9e1d13c
sm3840: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
9d4f2a7209
sm3600: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
82720a2023
sharp: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
da010d6088
niash: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
86c5d6d7bd
nec: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
220429ff9e
mustek_usb2: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
7efb056272
mustek_pp: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
664398cc31
mustek: fix [-Wunused-but-sed-variable] compiler warnings
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
8b75c6d450
microtek2: fix another [-Wunused-but-set-variable] compiler warning
...
This allows for the fact that the backend may be compiled with and
without support for authorization.
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
c145877095
microtek2: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen
26aa8b52f6
magicolor: fix [-Wunused-function] compiler warning
...
This function is only used when SNMP support is activated.
2015-12-27 18:41:44 +09:00
Olaf Meeuwissen
292dd42bb6
magicolor: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
d0e85e9d5e
ma1509: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
7c0f5ec66c
lexmark: fix [-Wmaybe-uninitialized] compiler warning
...
This adds a default handler to switch statement so low_get_start_loc()
bails before the start_600 variable is used.
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
068c3bb75d
kodakaio: fix [-Wunused-function] compiler warning
...
The function is only used when Avahi support is enabled and has been
put in a suitable compilation scope.
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
610dc9ceb4
kodak: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
2724f85552
hpsj5s: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
aabb63dbbf
hp4200: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
a82798d5e1
hp3500: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen
51277aec4a
hp: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
a97b1738df
gphoto2: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
cbeb98daec
epson: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
cbc72a0171
dmc: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
fb4147c4f1
dc240: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
bcfa3f6591
dc210: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
c31cf62106
dc25: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
43b296471b
coolscan: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
50ca4bc976
cardscan: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:40 +09:00
Olaf Meeuwissen
c2b7b1af74
canon636u: fix [-Wunused-but-set-variable] compiler warning
2015-12-27 18:38:40 +09:00
Olaf Meeuwissen
e881843745
canon: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:40 +09:00
Olaf Meeuwissen
592430016c
avision: fix [-Wunused-but-set-variable] compiler warning
...
The variable seems to have been superseded by conv_out_size in the
else branch of set_calib_data().
2015-12-27 18:38:40 +09:00
Olaf Meeuwissen
5b8fdd317f
artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
...
This leaves the sane_close() implementation just as broken as it has
been from the initial commit sometime in 2002.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen
ec1936713e
artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
...
The variable was only used to silence a [-Wunused-parameter] warning.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen
5b21a24312
artec: fix [-Wunused-but-set-variable] compiler warning
...
The variable is used to assign return values but is not referenced by
anything itself.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen
674b75fc91
Improve readability of condition
...
This also fixes the following GCC warning:
warning: logical not is only applied to the left hand side of comparison
2015-12-20 17:33:55 +09:00
Volker Diels-Grabsch
baec5e0395
Use consistently __func__ instead of __FUNCTION__
...
Some parts of SANE used __FUNCTION__ while other parts used __func__.
Now, __func__ is used consistently throughout the SANE sources. This
fixes all occurrences of the following GCC warning:
warning: ISO C does not support '__FUNCTION__' predefined identifier
2015-12-20 15:27:45 +09:00
Volker Diels-Grabsch
93298674d0
Merge all compatibility macros around __func__ and __FUNCTION__
...
Various parts of SANE introduced their own compatibility macros for
old compilers that don't support __func__. Most of these definitions
are identical or have minor differences. This patch replaces them
with a single instance in the central header file for backends.
2015-12-20 15:27:45 +09:00
Volker Diels-Grabsch
7c8c8e29be
Remove dead code due to unused variables
...
This fixes some occurrences of the following GCC warning:
warning: variable '...' set but not used
2015-12-20 15:21:45 +09:00
Volker Diels-Grabsch
13b6faee2a
Fix interface of helper function write_many
...
This fixes two occurrences of the following GCC warning:
warning: cast discards 'const' qualifier from pointer target type
2015-12-20 14:43:57 +09:00
Volker Diels-Grabsch
6aced758f4
Fix typos in comments
...
While reading through the SANE sources I noticed some annoying typos
in the comments. This patch is my contribution to make the SANE
sources slightly more pleasant to read.
2015-12-20 14:43:56 +09:00
Alessandro Zummo
6d8b8d5aa6
epsonds: fix duplex w/ double feed detection
2015-12-15 16:17:53 +01:00
Stéphane Voltz
06d876f74e
fix for #315050
...
- handle case where linesel is rounded to 0 when scan y resolution is
below minimal scan resolution but higher than half of the minimum
2015-12-15 06:05:07 +01:00
Olaf Meeuwissen
f1593204c7
Drop execute permission
...
Source code, description files and configuration templates should never
need to be executed.
2015-11-27 21:28:09 +09:00
Olaf Meeuwissen
e094c5b43b
Invert sense of sanei_thread validity check
...
Double negatives suck.
2015-11-24 18:19:31 +09:00
Olaf Meeuwissen
fe12d31e68
Fix SANE_Pid related -Wsign-compare warnings
...
This may fix threading related issues on WIN32 platforms, BTW.
2015-11-24 18:19:31 +09:00
m. allan noah
ed59056d40
canon_dr backend v54
...
- br_x and br_y locked to page_width/height until changed
2015-11-23 21:26:09 -05:00
m. allan noah
d0ea697ab8
fujitsu backend v129
...
- br_x and br_y locked to page_width/height until changed
- add USB ID's for fi-6xxxLA and fi-6xxxZLA scanners
- add USB ID's for unsupported SP11xx scanners (genesys based)
2015-11-23 21:08:30 -05:00
m. allan noah
e6a249e042
revert mustek_usb2 backend upgrade
...
Instead of 100+ revert commits, I've lumped everything into a
single commit. This removes all of dedf0ac30
through db7f038f1
,
plus the parts of 497d59180
which were specific to mustek_usb2
2015-11-12 21:10:49 -05:00
Olaf Meeuwissen
21c5f4d814
Add missing #include for malloc()
2015-11-11 22:42:08 +09:00
Olaf Meeuwissen
7dc416b7ae
Remove unnecessary cast
2015-11-11 22:42:08 +09:00
Olaf Meeuwissen
38153b33e1
Fix "discards 'const' qualifier from pointer target type" warning
...
The device2 variable is not modified so let's make that clear.
2015-11-11 22:41:42 +09:00
Olaf Meeuwissen
d2576bbb94
Fix "discards 'const' qualifier from pointer target type" warnings
...
The cs3_xfree() functions is really just a checked call to free() so its
signature has been changed to match that. The warnings that causes have
been fixed in the same way and on the same grounds as the previous commit.
2015-11-11 22:41:33 +09:00
Olaf Meeuwissen
e65fd1b4cb
Fix "discards 'const' qualifier from pointer target type" warnings
...
The resources pointed to have been acquired by the backend. It is safe
to cast away the 'const' qualifier when releasing these resources.
2015-11-11 22:41:22 +09:00
m. allan noah
497d591806
automake for recent changes
...
updates to mustek_usb2, canon_dr and umax_pp require automake run
2015-11-08 17:17:37 -05:00
Jan Hauffa
db7f038f10
Fix a bug introduced during refactoring that caused discolored stripes to appear at the left and right sides of the scan area.
2015-11-08 16:54:49 -05:00
Jan Hauffa
a64477bf1a
Remove USB 2.0 mode, as it causes horrible backtracking for resolutions > 300 dpi.
2015-11-08 16:54:49 -05:00