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
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