Troy Rollo
fd7a3505f6
HP3500 backend: fix #314811 , greatly improve
...
calibration, support harware calibration
in 120DPI and 400DPI, and add support for
hardware gamma correction.
2016-11-29 20:47:59 +11:00
Alex Belkin
6484ff8fc3
Forgoten comma in backends man pages list.
2016-11-06 23:03:23 +03:00
Alex Belkin
69a008830b
Pre-create temporary file for Jpeg scanning.
...
Jpeg mode (as submitted by Samsung developer) uses temporary file with
fixed name. This opens attacks on reading its content or overwriting any
other user-writable file (with symlink). This change pre-creates
temporary file with O_CREAT|O_EXCL and mode 0600. Assuming usual +t
permissions for tmp this should mitigate issue.
2016-11-06 22:55:58 +03:00
Alex Belkin
226c2b9deb
Update header and copyright statements for xerox_mfp.
2016-11-06 21:50:06 +03:00
Alex Belkin
58c1e43b83
Indent of xerox_mfp-tcp.c and xerox_mfp-usb.c
...
This is purely indent commit without any code changes, in
follow-up to 83bbcfe7d5
.
Indent command used:
astyle -A8 -U -H -k3 -W3 -o xerox_mfp-{usb,tcp}.c
Proof that code is not changed:
git log -w -p xerox_mfp-{usb,tcp}.c
2016-11-06 21:42:52 +03:00
Alex Belkin
610533a9a6
Update xerox_mfp man page.
2016-11-06 21:24:38 +03:00
Alex Belkin
ba6a5710b5
Update sane.man to index xerox_mfp backend.
2016-11-06 21:07:39 +03:00
Alex Belkin
83bbcfe7d5
Run indent: astyle -A8 -U -H -k3 -W3 -o xerox_mfp.[ch]
...
This is purely indent commit w/o any code changes.
To prove run `git diff -w`.
2016-11-06 20:24:02 +03:00
m. allan noah
e4aed53a1e
fujitsu backend v132
...
- remove ipc_mode option and variables
- set ipc mode based on other options
- cleanup inverted logic DTC options
- fixes threshold option reported in #315069
2016-10-08 20:54:58 -04:00
Rolf Bensch
cfa98fd0d1
pixma: backend version 0.17.34
2016-10-08 14:25:33 +02:00
Rolf Bensch
7e20475c8b
pixma: new scanner Canon PIXMA MG3000 Series
...
see bug report #315521
2016-10-08 14:24:53 +02:00
Rolf Bensch
3b63fdab2b
pixma: backend version 0.17.33
2016-10-05 20:05:37 +02:00
Rolf Bensch
c751a9ca22
fix ADF scanning for Canon MF57x0 devices
...
- ignore result from calibrate(): don't interrupt @ PIXMA_STATUS_BUSY
- MF57x0 devices don't require abort_session() after the last page
- reported by Dmitry Deshevoy
2016-10-05 19:52:02 +02:00
Olaf Meeuwissen
a9806de08e
AWARE: Treat compiler warnings as errors on debian-8-mini too!
2016-09-25 17:06:15 +09:00
Olaf Meeuwissen
490c4501c7
Sync autofoo
2016-09-25 17:04:23 +09:00
Olaf Meeuwissen
da49686efe
sane-find-scanner: disable USB if not supported
...
This fixes a [-Wpedantic] compiler warning about ISO C forbidding empty
translation units. The check-usb-chip.c file reduces to such a file in
the case USB support was explicitly disabled or no usable library found.
2016-09-25 17:00:54 +09:00
Olaf Meeuwissen
471e8ac0c1
sanei_pp: fix [-Wcpp] compiler warning
...
The `#warning` directive is turned into an error by `-Werror`. The
directive triggers is guaranteed to trigger with __GNUC__ when no
parallel support is available. This would prevent strict CI builds.
Output a message with all compilers that understand the pragma. Those
that don't should ignore it, according to C99.
2016-09-25 16:28:11 +09:00
Olaf Meeuwissen
7d7030a409
sanei_usb: : fix [-Wunused-parameter] compiler warnings
...
These were issued in the absence of libusb.
2016-09-25 15:53:46 +09:00
Olaf Meeuwissen
e6faafcdc9
xerox_mfp: fix [-Wunused-parameter] compiler warnings
...
These are issued when libjpeg was not found during configuration.
2016-09-25 15:44:36 +09:00
Louis Lagendijk
32be261254
Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends
2016-09-21 22:35:10 +02:00
Olaf Meeuwissen
97d2a3d22d
AWARE: Treat compiler warnings as errors on debian-8-full
...
This build became compiler warning free in ee550e5d
. Let's keep it
that way!
2016-09-21 22:11:09 +09:00
Olaf Meeuwissen
4119f05d5f
Fix USB ID typo
2016-09-21 21:54:39 +09:00
Olaf Meeuwissen
ee550e5de8
pieusb: fix [-Wunused-parameter] compiler warnings
...
The functions that trigger these warnings were not used.
2016-09-20 09:12:53 +09:00
Olaf Meeuwissen
bf088a6ed1
Merge comments
...
This gets rid of a missing :usbid warning.
2016-09-19 17:45:35 +09:00
Olaf Meeuwissen
e01f574b19
Merge duplicate entry
2016-09-19 17:44:48 +09:00
Olaf Meeuwissen
1a328e412f
Add missing USB IDs
...
Taken from http://www.linux-usb.org/usb.ids
2016-09-19 17:44:14 +09:00
Olaf Meeuwissen
dd940a1f61
utsushi.desc: sync with upstream
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
fb0464d9e3
niash: fix [-Wunused-but-set-variable] compiler warning
...
This makes explicit what the compiler has effectively been doing all
along anyway since at least 727dd4ab
(2004-08-03).
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
6f4b88b617
epson2: fix [-Wunused-but-set-variable] compiler warning
...
This makes explicit what the compiler has effectively been doing all
along anyway since at least 728e032a
(2009-06-01).
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
4dce101c05
Keep generated *.eps and *.pdf files out of the repository
2016-09-19 10:04:35 +09:00
Olaf Meeuwissen
46bc0ff1c8
Sync autofoo
2016-09-18 21:41:03 +09:00
Olaf Meeuwissen
2b973d75fe
Add fig2dev as prerequisite for API HTML docs
...
The target for sane-html depends on sane.dvi which requires fig2dev.
Thanks to:
- https://lists.debian.org/debian-user/2016/08/msg00484.html
- http://superuser.com/questions/1101439/error-building-sane-backend-on-debian
2016-09-18 21:31:34 +09:00
Olaf Meeuwissen
db22a031d1
Fix typo introduced in fa41b180
. Fixes 315435
2016-09-18 21:19:12 +09:00
m. allan noah
9d388c3593
canon_dr v56
...
- add initial support for P-150M (and probably P-150)
2016-09-11 19:04:34 -04:00
Olaf Meeuwissen
39ceeae616
md5: fix [-Wstrict-aliasing] compiler warnings
2016-09-07 21:03:30 +09:00
Olaf Meeuwissen
27a4da41b1
Prefer *our* `include/` files
...
This fixes discrepancies in build results for VPATH builds.
2016-09-07 21:01:26 +09:00
Olaf Meeuwissen
737977199c
umax_pp: fix [-Wunused-but-set-variable] compiler warning
2016-09-05 23:40:39 +09:00
Olaf Meeuwissen
50fa8efdcf
gphoto2: fix libgphoto2 logging integration
...
In libgphoto2-2.5.0 (tagged for release on 2012-07-10) the GPLogFunc no
longer takes a va_list. Instead, it passes a formatted message.
2016-09-04 14:39:52 +09:00
Olaf Meeuwissen
23f052113b
saned: fix [-Wunused-parameter] compiler warning
...
The `__sane_unused__` attribute has been moved from sanei_backend.h to
sanei.h to make it generally useful instead of limited to backends.
2016-09-04 12:50:19 +09:00
Olaf Meeuwissen
0d527f6659
Drop build environments
...
Adding them did not quite have the effect I thought it would. I had
thought it would allow for easy linking to build logs by environment
name. Alas, no such luck.
This reverts commits:
- 9c44317289
- 6209fecf3a
2016-09-04 12:14:23 +09:00
Olaf Meeuwissen
74b4a34e82
dll: fix pedantic compiler warning
2016-09-04 12:12:14 +09:00
Olaf Meeuwissen
246673715d
utsushi.desc: sync with upstream
2016-09-03 14:36:49 +09:00
Olaf Meeuwissen
a65e74fe83
umax_pp: fix [-Werror=unused-but-set-parameter] compiler warnings
2016-08-28 15:49:44 +09:00
Olaf Meeuwissen
4eaefe4371
magicolor: fix [-Werror] compiler warning
...
This casts away const-ness in the hope that libsnmp doesn't change
the session.peername.
2016-08-28 15:27:50 +09:00
Olaf Meeuwissen
31ac0db736
magicolor: fix [-Werror=pointer-sign] compiler warnings
...
The libsnmp API requires a u_char *session.community :-(
2016-08-28 15:25:43 +09:00
Olaf Meeuwissen
c32d48ef5f
kodakaio: fix [-Weror=format=] compiler warning
2016-08-28 14:19:34 +09:00
Olaf Meeuwissen
0337514b8f
kodakaio: fix [-Werror=sign-compare] compiler warning
2016-08-28 14:18:00 +09:00
Olaf Meeuwissen
763816814b
hp5400: fix [-Werror=overflow] compiler warning
...
This explicitly implements what gcc and clang assign.
2016-08-28 13:56:16 +09:00
Olaf Meeuwissen
9c44317289
Fix environment name (periods are not allowed)
2016-08-28 13:24:17 +09:00
Olaf Meeuwissen
984fefd551
plustek_pp: fix [-Werror=sign-compare] compiler warning
2016-08-28 13:21:11 +09:00