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
Olaf Meeuwissen
76600e3974
utsushi.desc: sync with upstream
2017-11-18 16:44:03 +09:00
Rolf Bensch
c51af8fd99
pixma: fix typos
2017-11-14 22:16:40 +01:00
Olaf Meeuwissen
77722d754f
utsushi.desc: sync with upstream
2017-10-11 22:09:43 +09:00
Olaf Meeuwissen
99a98e448b
saned: Brush up manual page's OPTIONS section following 5288dd5f
2017-09-29 21:49:08 +09:00
Olaf Meeuwissen
f9a76395da
saned: Fix typo in help message
2017-09-29 21:48:14 +09:00
Luiz Angelo Daros de Luca
5288dd5f61
saned: reorganize flags, remove run_mode SANED_RUN_DEBUG
...
Flags like -a, -d and -s have many overlap effects. This patch restricts
the effect of flags to a simple action.
New -u (user) flag replaces -a optional argument for running saned as a different user.
The code that retrieve the user info and drop privileges migrated to runas_user().
As a side effect, PID file can be created even if getting user info fails.
New -l (listen) flag sets run_mode to standalone.
New -D (daemonize) flag daemonizes saned after bind.
New -o (once) make saned exit after the first client disconnects.
Flag -s (syslog) is gone. Previous behavior can be reproduced with '-a -d level -o -f'.
New -e (stderr) flag for redirecting output to stderr, instead of syslog.
Flag -d (debug) now only sets the debug level and argument is required. Previous behavior
can be reproduced with '-a -d level -o -f -e'.
The run_mode SANED_RUN_DEBUG and SANED_RUN_ALONE shared most of its code
path. With the new flags dealing with their difference, SANED_RUN_DEBUG is gone.
Flag '-a' still works as before but it can be replaced by '-l -D -u user'.
Current uses of -d (debug) or -s (syslog) will break.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-09-29 20:43:36 +09:00
Olaf Meeuwissen
c9356cb184
saned: Fix incorrect claim about passing options to inetd etc.
2017-09-09 15:37:13 +09:00
Farid Benamrouche
1f68d8d8c4
saned: Cancel scan if data connection appears to have gone away
...
The data connection timeout default to 4000ms but is configurable
in saned.conf.
See Alioth 315765
2017-09-07 22:37:31 +09: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
9b95970b91
utsushi.desc: Sync with upstream
2017-08-20 14:08:33 +09:00
Rolf Bensch
6eb2a0d10a
pixma: fix device interface info for PIXMA MG7100 Series
2017-08-18 10:06:17 +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
Luiz Angelo Daros de Luca
f19a41e6f7
saned: update man for option -b
2017-07-29 17:58:31 +09:00
Luiz Angelo Daros de Luca
fc57a5a6a5
saned: fix --debug help message (output is stderr)
...
Man page was correct.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-07-29 17:54:01 +09:00
Jeremy Bicha
f482b498a2
po: Fix Plural-Forms header for es and gl
...
Fixes 315801.
2017-07-27 20:12:19 +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
56398ead60
sane-usb: Document SANE_USB_WORKAROUND variable
...
Fixes Alioth#315792. Thanks Zdenek Dohnal
2017-07-22 11:48:14 +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
bdba3cc073
tools/umax_pp: Fix [-Wunused-variable] compiler warning
...
The file descriptor is only used in code conditionalised on the
HAVE_LINUX_PPDEV_H preprocessor define.
2017-07-18 20:50:28 +09:00
Rolf Bensch
3258b70de4
pixma: fix device status for i-SENSYS MF240 Series
...
and add comment for image width workaround (see: 611647b
)
2017-07-16 11:46:27 +02:00
Olaf Meeuwissen
8f61317f00
autofoo: Sync generated files
2017-07-15 22:52:00 +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
d94c29a726
autofoo: Sync generated files
2017-07-15 22:06:05 +09:00
Olaf Meeuwissen
54627bdeac
lib/isfdtype.c: Remove badly broken substitute
...
The substitute completely ignores the fdtype argument and only works
correctly for S_IFSOCK values. This happened to be the only way the
function was invoked but for safety's sake this has been replaced by
a local implementation that does pretty much the same thing, without
the misleading bit.
Found courtesy of a [-Wunused-parameter] compiler warning on Alpine.
2017-07-15 21:58:51 +09:00
Olaf Meeuwissen
c754d440ea
sanei_thread: Fix [-Wunused-function] compiler warning
...
The sanei_thread_set_invalid static function is only used by code that
exists if USE_PTHREAD is defined.
2017-07-15 20:27:28 +09:00
Olaf Meeuwissen
f333450086
CI: Add a Fedora 26 Clang build
2017-07-15 17:19:38 +09:00
Olaf Meeuwissen
2c1f3d696f
autofoo: Sync generated files
...
This pulls in the changes from 756d286f
and e7d9779d
.
2017-07-15 17:17:21 +09:00
Olaf Meeuwissen
756d286f36
pthread: Disable support if pthread_t is *not* an integer type
...
The sanei_thread implementation assumes an integer type in case of
pthread based thread support. As anything else is unlikely to work
correctly, it's safer to just fall back to forked processes.
2017-07-15 17:13:34 +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
ddd7d821f6
sanei_thread: Fix [-Wformat=] compiler warnings
2017-07-15 17:07:13 +09:00
Olaf Meeuwissen
ad09bbdd18
sanei_thread: Fix [-Wint-conversion] compiler warnings
2017-07-15 17:06:20 +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
3f8db8e2d0
AWARE: Treat compiler warnings as errors on the debian-9-* builds
2017-07-12 21:31:31 +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
62fcf80c0b
pixma: PIXMA TS5000 Series ( #315764 ) and TS8000 Series ( #315763 ) are working
2017-07-10 23:34:01 +02:00
Rolf Bensch
02a4ec11bf
pixma: backend version 0.17.41
2017-07-10 23:12:56 +02:00