Olaf Meeuwissen
0f90a5c2e3
hp: Fix [-Wmisleading-indentation] compiler warning
...
Indentation based on the style used in the immediate neighbourhood.
The file uses a mix of styles though.
2017-06-26 17:55:30 +09:00
Olaf Meeuwissen
2ff1d7da59
genesys: Fix [-Wmisleading-indentation] compiler warning
...
The fix is based on similar code in backend/genesys_gl846.c and fixes
a potential infinite loop as well.
2017-06-26 17:52:08 +09:00
Olaf Meeuwissen
5098b9bfbb
genesys: Fix [-Wmisleading-indentation] compiler warnings
2017-06-26 17:51:40 +09:00
Olaf Meeuwissen
a1133aa194
pnm: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:28:54 +09:00
Olaf Meeuwissen
deb856cb27
umax: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:54 +09:00
Olaf Meeuwissen
ff535ef1ea
u12: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:39 +09:00
Olaf Meeuwissen
0c6fc8b174
snapscan: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:23 +09:00
Olaf Meeuwissen
582a3b8987
s9036: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:06 +09:00
Olaf Meeuwissen
73e1d3568d
plustek_pp: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:08:51 +09:00
Olaf Meeuwissen
1a1c808c15
plustek: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:08:37 +09:00
Olaf Meeuwissen
f8eb12b49d
mustek: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:08:17 +09:00
Olaf Meeuwissen
02ce2b5d46
agfafocus: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:07:24 +09:00
Olaf Meeuwissen
702a8e27b6
p5: Fix [-Wunused-const-variable=] compiler warning
...
The u8_range and threshold_percentage_range constants have not been
used for anything ever since the backend's addition. They probable
ended up in the code as a result of copy-and-paste.
2017-06-26 11:43:01 +09:00
Olaf Meeuwissen
aa5468552b
teco2: Fix [-Wunused-const-variable=] compiler warning
...
The default_dpi_color_adjust variable hasn't been used ever since the
backend was added.
2017-06-26 11:39:50 +09:00
Olaf Meeuwissen
a2083538e9
tamarack: Fix [-Wunused-const-variable=] compiler warning
...
The u8_range has been `#if 0`'d to match the gamma options' have been
disabled (since the initial revision). The options refer to u8_range.
2017-06-26 11:35:06 +09:00
Olaf Meeuwissen
2442ddf6d1
sp15c: Fix [-Wunused-const-variable=] compiler warning
...
The RCSid* variables have never been used for anything by the backend
code.
2017-06-26 11:28:10 +09:00
Olaf Meeuwissen
86ab41d8f1
mustek_usb: Fix [-Wunused-const-variable=] compiler warning
...
The brightness option that used the char_range variable was renamed to
threshold and changed to use u8_range in c95e4638
.
2017-06-26 11:19:55 +09:00
Olaf Meeuwissen
39849809d1
mustek: Fix [-Wunused-const-variable=] compiler warning
...
The const variables' definition has been #ifdef'd to prevent loss of
protocol info.
Neither scsi_area_and_windows nor scsi_lookup_table appear to have
been used for anything.
2017-06-26 11:16:55 +09:00
Olaf Meeuwissen
398d5850fa
avision: Fix [-Wunused-const-variable=] compiler warning
...
The const variable's definition has been #ifdef'd to prevent loss of
protocol info.
2017-06-26 11:08:03 +09:00
Olaf Meeuwissen
0f70ce9aac
avision: Fix [-Wunused-const-variable=] compiler warning
...
The threshold option which used the abs_percentage_range was removed
in e2169ec4
.
2017-06-26 11:05:01 +09:00
Olaf Meeuwissen
2f5c9e1499
kvs1025: Fix [-Wunused-const-variable=] compiler warning
...
The go_paper_max_width value hasn't been used for anything since the
initial revision of the file.
2017-06-26 11:02:50 +09:00
Olaf Meeuwissen
ed0062d474
gt68xx: Fix [-Wunused-const-variable=] compiler warning
...
The options that used offset_range were removed in a3a8808b
.
2017-06-26 11:02:50 +09:00
Olaf Meeuwissen
fa44970473
epson2: Fix [-Wunused-const-variable=] compiler warning
...
The s8_range variable appears to be a left-over from the epson
backend's "fork" and became superfluous after refactoring the
colour correction support in the epson2 backend.
2017-06-26 11:02:16 +09:00
Olaf Meeuwissen
754a7164f3
dc25: Fix [-Wunused-const-variable=] compiler warning
...
The percentage_range hasn't been used for anything since the initial
revision of the file.
This also gets rid of a [-Wshift-negative-value] warning as well as a
"initializer element is not a constant expression" pedantic warning.
2017-06-26 11:00:29 +09:00
Olaf Meeuwissen
a52d843da4
canon: Fix [-Wunused-const-variable=] compiler warning
...
The papersize_list hasn't been used for anything since the initial
revision of the file.
2017-06-26 10:34:14 +09:00
Olaf Meeuwissen
fe3299a9b0
Add minimal and full CI compile tests for Debian 9
2017-06-22 20:36:59 +09:00
Olaf Meeuwissen
e7d9779dfc
CI: Build `git describe` versioned snapshot tarballs
...
This:
- modifies `configure.ac` to get a version number courtesy of `git`
when `autoconf` is run
- runs a `make dist` when all compilation targets succeed
- makes the resulting tarball available as a build artifact
- renames the various pipeline stages
2017-06-17 12:38:21 +09:00
Olaf Meeuwissen
a06e9a4075
Script updating of upstream files
2017-06-12 20:53:53 +09:00
Olaf Meeuwissen
baec9c4e26
autofoo: Sync with configure.ac, Makefile.am changes
2017-06-07 22:50:56 +09:00
Olaf Meeuwissen
a2f1cc1c82
libsane: Only depend on and link in the kitchen sink if needed
...
There is no need to depend on and link in all the various dependencies
for whatever backends *might* be preloaded if none are. Distributions
habitually rip these out, rightfully so, to reduce the list of package
dependencies. This will achieve the same while still doing the "right
thing" for builds that do preload one or more backens.
2017-06-07 22:06:05 +09:00
Jerome Duval
2284c6e034
epsonds: add missing includes
...
Fixes build failure on Haiku. Alioth Tracker: 315750.
2017-06-07 21:18:48 +09:00
Olaf Meeuwissen
fbe2f6d332
CI: add a "lint" stage before the builds
...
This is mostly meant for "cheap" policy checks that do not require the
sources to be compiled.
2017-06-02 21:13:34 +09:00
Olaf Meeuwissen
828f1a3949
style-check: skip directories, sanitize file names
...
When generating lists of files with `find`, directories may get output
if you try to prune paths and it has a habit of prefixing paths with a
leading `./`.
2017-06-02 21:13:34 +09:00
Rolf Bensch
75e271444a
pixma: backend version 0.17.40
2017-06-01 14:11:48 +02:00
Rolf Bensch
80445f9e57
pixma_imageclass.c: MF240 Series restricts adf scans to max. 300dpi
2017-06-01 14:09:21 +02:00
Rolf Bensch
c2594e949b
Revert "pixma_imageclass.c: MF240 Series supports only 300dpi for adf scans"
...
This reverts commit 60e0c31bb7
.
Truly this scanner restricts adf scans to max. 300dpi.
2017-06-01 14:06:43 +02:00
Olaf Meeuwissen
ba8e76d937
.editorconfig: add script to check and fix style issues
...
The various checks cover all settings in the `.editorconfig` file.
The `--fix` support, however, does not attempt to correct charset
issues because the encoding cannot be determined automatically.
Note that image files as well as generated files in the repository
are exempted from all style checks.
2017-05-31 21:34:59 +09:00
Olaf Meeuwissen
01c5dbc82b
.editorconfig: Fix sane-desc tool to match cleaned up references
...
Changes to the test reference files should not, famous last words ;-),
have any effect on the use of the tool's actual outputs.
Note that the tests use a "concocted" `testfile.desc` as their input.
2017-05-30 22:39:30 +09:00
Olaf Meeuwissen
fc4b250a09
.editorconfig: use utf-8 charset throughout
2017-05-29 21:14:30 +09:00
Olaf Meeuwissen
f0f187f995
.editorconfig: trim trailing blank lines
2017-05-29 21:14:30 +09:00
Olaf Meeuwissen
ffa573f65e
.editorconfig: insert a newline at end-of-file
...
This keeps `git` from "complaining" about this when doing a diff. It
also keeps your prompt at the left edge when you `cat` a file.
2017-05-29 21:14:29 +09:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Olaf Meeuwissen
45a7aabc80
Add .editorconfig to maintain a more consistent coding style
...
This does not set anything yet.
See http://editorconfig.org/ for more information.
2017-05-29 21:14:28 +09:00
Olaf Meeuwissen
55257bea66
Bump Alpine builder to 3.6
2017-05-29 21:02:53 +09:00
Rolf Bensch
7893b77d92
pixma: backend version 0.17.39
2017-05-26 23:37:28 +02:00
Rolf Bensch
bcf1f4398e
pixma_imageclass.c: reduce max. scan width to 216mm for particular scanners
2017-05-26 23:36:52 +02:00
Rolf Bensch
2b0028b4af
Merge branch 'pixma/mf240_adf_only_300dpi'
2017-05-23 21:16:52 +02:00
m. allan noah
35dc4426d2
Open repo for 1.0.28 development
2017-05-22 21:08:33 -04:00
m. allan noah
82cd8f245c
SANE-backends release 1.0.27
...
Moved old changelogs to new directory, and excluded them from
release tarball.
Improved release docs.
Updated config.* files
Bumped version numbers.
Wrote release notes.
2017-05-22 11:16:40 -04:00
Rolf Bensch
2bba273993
pixma: backend version 0.17.38
2017-05-20 14:15:19 +02:00