Wykres commitów

9448 Commity (89d06c9a3aa3f6013ee9fc94e2d30e61a2484d6c)

Autor SHA1 Wiadomość Data
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
Rolf Bensch 862f265631 pixma: remove unreachable and depreciated websites from man page 2017-07-10 23:12:51 +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 890aa30a7c pixma: i-SENSYS MF210 Series is working 2017-07-10 22:01:26 +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 a08f5630d8 sanei_scsi: Fix [-Wdeprecated-declarations] compiler warning
The readdir_r() using loop in sanei_scsi_find_devices() has been
modified to use readdir().

With the exception of sane_cancel(), the SANE API is not re-entrant.
The sanei_scsi_find_devices() function is referenced neither directly
nor indirectly from any of the sane_cancel() implementations so there
is no inherent need to use readdir_r().
2017-07-08 18:40:09 +09: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