Wykres commitów

8960 Commity (d6a93b83a7dc3a3871db31ecf11adebe470b52a4)

Autor SHA1 Wiadomość Data
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
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