Olaf Meeuwissen
797cd1fb37
epson2, epsonds, kodakaio, magicolor: Don't set invalid value
...
If the value to be set is not valid, it should not change the sval
structure (even if doing so has no negative side effects).
This also makes the fallthrough less confusing by removing the first
cast of two for the br-x and br-y values.
2019-08-11 10:04:19 +09:00
Povilas Kanapickas
e40596c2a5
Fix -Wimplicit-fallthrough warnings by adding standard annotations
2019-06-30 11:58:32 +03:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Paul Newall
6af0e32bd6
kodakaio.c patched to change avahi callback variable from global to local. Bug 315705
2017-05-01 19:49:41 +01:00
Robert Ancell
6eb4a1f164
kodakaio: Fix crash when Avahi search fails
2017-04-08 20:13:32 +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
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
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
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
1baab222e4
Add missing include (fixes 315207)
...
Both Linux and NetBSD mention this header for use of setsocketopt().
DragonFly BSD needs it for the SOL_SOCKET symbol.
2015-11-08 18:49:58 +09:00
Olaf Meeuwissen
ba1e395c66
Fix size_t printf format warnings
2015-09-25 20:53:42 -04:00
Olaf Meeuwissen
22b17e232a
Fix various types of unused variable warnings
2015-09-25 20:53:42 -04:00
Paul Newall
26572efbd1
redundant variable bitposn and redundant function kodakaio_rxflush commented out
2015-09-13 19:34:17 +01:00
Paul Newall
6b1455a8cf
kodakaio device connection and disconnection moved to sane_start and sane_cancel to fix bug when scanner disconnected after 30s idle
2014-12-31 10:26:07 +00:00
Paul Newall
06fae35262
kodakaio params.depth corrected for lineart, color mode made the default.
2014-12-19 22:52:48 +00:00
Paul Newall
d2bbf502c7
kodakaio: Added lineart mode and threshold option.
2014-09-13 23:26:04 +01:00
Paul Newall
4a49f58700
Fixed colour compensation error in kodakaio
2014-09-07 13:38:58 +01:00
Paul Newall
f67f37ec19
kodakaio.c comments on configure parameters have test backend added
2014-05-30 21:19:13 +01:00
Nils Philippsen
2d89e37f36
kodakio: don't overrun option name array
2013-11-05 15:51:05 +01:00
Paul Newall
37523b867d
Bugfix in kodakaio.c to fix segfault when non kodak scanners return unexpected data via avahi auto discovery
2013-10-14 22:22:53 +01:00
Paul Newall
c172bfa99b
kodakaio Hero 4.1 added
2013-01-19 21:41:40 +00:00
Paul Newall
1be4eb8264
kodakaio - detecting end of paper or padding when using adf is now an option
2013-01-03 21:23:20 +00:00
Paul Newall
6c43f2df2a
kodakaio adf now detects end of paper
2012-12-31 20:13:32 +00:00
Paul Newall
a8faa35b7b
kodakaio fix bug to allow adf to scan more than 1 sheet with net connection
2012-12-23 21:23:43 +00:00
Paul Newall
fc4f54bd55
ESP2170 gets adf and adf y now 11.3
2012-12-09 23:29:07 +00:00
Paul Newall
f31002ed06
kodakaio changed to use avahi for net discovery
2012-11-28 21:35:36 +00:00
Paul Newall
9ed65d3ea2
Tidy poll call in kodakaio
2012-08-09 16:33:41 +01:00
m. allan noah
206e6ed094
Adding new kodakaio backend
2012-06-30 21:28:14 -04:00